1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-06 03:55:36 -05:00

[Dockerfile] Replace manual apk update w/ --no-cache

This commit is contained in:
Peter Dave Hello
2020-10-19 22:33:42 +08:00
committed by Zed
parent 0558ade6b9
commit e2e3b955f4

View File

@@ -5,8 +5,7 @@ EXPOSE 8080
COPY . /src/nitter
WORKDIR /src/nitter
RUN apk update \
&& apk add libsass-dev libffi-dev openssl-dev redis \
RUN apk --no-cache add libsass-dev libffi-dev openssl-dev redis \
&& nimble build -y -d:release --passC:"-flto" --passL:"-flto" \
&& strip -s nitter \
&& nimble scss