Skip to content

Commit

Permalink
fix(docker): Stay healthy
Browse files Browse the repository at this point in the history
Previously, the first health check created a 'ping' file which failed all subsequent health checks.
  • Loading branch information
CLOVIS-AI committed Mar 26, 2023
1 parent 5217649 commit f5882e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab/backend.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apk add --no-cache openjdk17-jre-headless
COPY --from=builder /home/server/extracted /opt/formulaide

HEALTHCHECK --start-period=60s --interval=10s --timeout=3s \
CMD wget http://localhost:9000/ping
CMD wget -O/dev/null http://localhost:9000/ping

WORKDIR /opt/formulaide
EXPOSE 9000
Expand Down

0 comments on commit f5882e5

Please sign in to comment.