File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @quassel/frontend " : patch
3+ " @quassel/backend " : patch
4+ ---
5+
6+ Fix docker healthcheck
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ RUN chown -R node:node .
1919USER node
2020EXPOSE 3000
2121HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
22- CMD curl --fail http://localhost:3000/health || exit 1
22+ CMD curl --head -- fail http://localhost:3000/health || exit 1
2323CMD ["dumb-init" , "node" , "src/main.js" ]
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ COPY ./.docker/entrypoint.sh /
77RUN chmod +x /entrypoint.sh
88
99HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
10- CMD wget --spider --quiet http://localhost || exit 1
10+ CMD curl --head --fail http://localhost || exit 1
1111
1212EXPOSE 80
1313ENTRYPOINT ["/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments