Apply suggestions from code review

Co-authored-by: Willy <jemand771@gmx.net>
pull/1081/head
nils1323 2021-08-28 02:10:54 +02:00 committed by GitHub
parent e5c7c4541d
commit 9327dbbf52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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 /go/bin/statping /usr/local/bin/
COPY --from=backend /root/sassc/bin/sassc /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 WORKDIR /app
VOLUME /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" 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

View File

@ -3,7 +3,7 @@ version: '2.3'
services: services:
statping: statping:
container_name: statping container_name: statping
image: statping-ng/statping-ng:dev image: aboutcher/statping-ng:dev
restart: always restart: always
volumes: volumes:
- statping_data:/app - statping_data:/app