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 .
19
19
USER node
20
20
EXPOSE 3000
21
21
HEALTHCHECK --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
23
23
CMD ["dumb-init" , "node" , "src/main.js" ]
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ COPY ./.docker/entrypoint.sh /
7
7
RUN chmod +x /entrypoint.sh
8
8
9
9
HEALTHCHECK --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
11
11
12
12
EXPOSE 80
13
13
ENTRYPOINT ["/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments