mirror of https://github.com/statping/statping
reduce size of Image
parent
25a5aada2c
commit
6a0250b0ea
|
@ -44,10 +44,12 @@ RUN chmod a+x statping && mv statping /go/bin/statping
|
||||||
# /root/sassc/bin/sassc - sass binary
|
# /root/sassc/bin/sassc - sass binary
|
||||||
# /statping - Vue frontend (from frontend)
|
# /statping - Vue frontend (from frontend)
|
||||||
|
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
RUN apk --no-cache add libgcc libstdc++ ca-certificates curl jq && update-ca-certificates
|
RUN apk --no-cache add libgcc libstdc++ ca-certificates curl jq && update-ca-certificates
|
||||||
|
|
||||||
RUN cp /go/bin/statping /usr/local/bin/
|
COPY --from=backend /go/bin/statping /usr/local/bin/
|
||||||
RUN cp /root/sassc/bin/sassc /usr/local/bin/
|
COPY --from=backend /root/sassc/bin/sassc /usr/local/bin/
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
VOLUME /app
|
VOLUME /app
|
||||||
|
|
Loading…
Reference in New Issue