mirror of
https://github.com/zedeus/nitter
synced 2024-11-25 11:09:32 +01:00
[Dockerfile] Replace manual apk update
w/ --no-cache
This commit is contained in:
parent
0558ade6b9
commit
e2e3b955f4
@ -5,8 +5,7 @@ EXPOSE 8080
|
|||||||
COPY . /src/nitter
|
COPY . /src/nitter
|
||||||
WORKDIR /src/nitter
|
WORKDIR /src/nitter
|
||||||
|
|
||||||
RUN apk update \
|
RUN apk --no-cache add libsass-dev libffi-dev openssl-dev redis \
|
||||||
&& apk add libsass-dev libffi-dev openssl-dev redis \
|
|
||||||
&& nimble build -y -d:release --passC:"-flto" --passL:"-flto" \
|
&& nimble build -y -d:release --passC:"-flto" --passL:"-flto" \
|
||||||
&& strip -s nitter \
|
&& strip -s nitter \
|
||||||
&& nimble scss
|
&& nimble scss
|
||||||
|
Loading…
Reference in New Issue
Block a user