use docker cache

This commit is contained in:
Sam Erika Clotfelter 2022-01-26 23:50:29 -05:00
parent 3a076a9b4e
commit c95fc32e0e
1 changed files with 5 additions and 2 deletions

View File

@ -4,10 +4,13 @@ EXPOSE 8080
RUN apk --no-cache add libsass-dev pcre RUN apk --no-cache add libsass-dev pcre
COPY . /src/nitter
WORKDIR /src/nitter WORKDIR /src/nitter
RUN nimble build -y -d:danger -d:lto -d:strip \ COPY nitter.nimble .
RUN nimble install -y -d:strip
COPY . .
RUN nimble build -y -d:danger -d:lto \
&& nimble scss \ && nimble scss \
&& nimble md && nimble md