fix: Update healthcheck endpoint in Dockerfile to target /spaces/ path (#8674)
This commit is contained in:
parent
9425c66eb5
commit
5c9f2a17c2
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,8 @@ WORKDIR /app/apps/space
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
RUN apk add --no-cache curl
|
||||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||||
CMD curl -fsS http://127.0.0.1:3000/ >/dev/null || exit 1
|
CMD curl -fsS http://127.0.0.1:3000/spaces/ >/dev/null || exit 1
|
||||||
|
|
||||||
CMD ["npx", "react-router-serve", "./build/server/index.js"]
|
CMD ["npx", "react-router-serve", "./build/server/index.js"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue