mirror of https://github.com/statping/statping
Apply suggestions from code review
Co-authored-by: Willy <jemand771@gmx.net>pull/1081/head
parent
e5c7c4541d
commit
9327dbbf52
|
@ -51,6 +51,7 @@ RUN apk --no-cache add libgcc libstdc++ ca-certificates curl jq && update-ca-cer
|
|||
|
||||
COPY --from=backend /go/bin/statping /usr/local/bin/
|
||||
COPY --from=backend /root/sassc/bin/sassc /usr/local/bin/
|
||||
COPY --from=backend /usr/local/share/ca-certificates /usr/local/share/
|
||||
|
||||
WORKDIR /app
|
||||
VOLUME /app
|
||||
|
@ -64,4 +65,4 @@ EXPOSE $PORT
|
|||
|
||||
HEALTHCHECK --interval=60s --timeout=10s --retries=3 CMD curl -s "http://localhost:$PORT/health" | jq -r -e ".online==true"
|
||||
|
||||
CMD statping --port $PORT
|
||||
CMD statping --port $PORT
|
||||
|
|
|
@ -3,7 +3,7 @@ version: '2.3'
|
|||
services:
|
||||
statping:
|
||||
container_name: statping
|
||||
image: statping-ng/statping-ng:dev
|
||||
image: aboutcher/statping-ng:dev
|
||||
restart: always
|
||||
volumes:
|
||||
- statping_data:/app
|
||||
|
|
Loading…
Reference in New Issue