reduce size of Image

pull/1081/head
Nils 2021-08-28 00:18:56 +02:00
parent 25a5aada2c
commit 6a0250b0ea
1 changed files with 4 additions and 2 deletions

View File

@ -44,10 +44,12 @@ RUN chmod a+x statping && mv statping /go/bin/statping
# /root/sassc/bin/sassc - sass binary
# /statping - Vue frontend (from frontend)
FROM alpine:latest
RUN apk --no-cache add libgcc libstdc++ ca-certificates curl jq && update-ca-certificates
RUN cp /go/bin/statping /usr/local/bin/
RUN cp /root/sassc/bin/sassc /usr/local/bin/
COPY --from=backend /go/bin/statping /usr/local/bin/
COPY --from=backend /root/sassc/bin/sassc /usr/local/bin/
WORKDIR /app
VOLUME /app