Fixed container healthcheck
This commit is contained in:
6
Dockerfile
Normal file → Executable file
6
Dockerfile
Normal file → Executable file
@@ -5,8 +5,8 @@ COPY ./config /config
|
||||
RUN mkdir -p /data && \
|
||||
apk --no-cache add curl
|
||||
|
||||
HEALTHCHECK CMD curl -f http://localhost:8080/health || exit 1
|
||||
HEALTHCHECK CMD curl -f http://localhost:8088/health || exit 1
|
||||
|
||||
EXPOSE 8080
|
||||
EXPOSE 8088
|
||||
|
||||
CMD [ "node", "/app/index.js" ]
|
||||
CMD [ "node", "/app/index.js" ]
|
||||
|
||||
Reference in New Issue
Block a user