Skip to content

Commit

Permalink
reverted back to NITRO_PRESET=node-server to avoid a regression wit…
Browse files Browse the repository at this point in the history
…h a race condition making the workers not very happy
  • Loading branch information
CommanderStorm committed Nov 8, 2024
1 parent a39121d commit a2a2254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webclient/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ARG GIT_COMMIT_MESSAGE
ENV GIT_COMMIT_MESSAGE=${GIT_COMMIT_MESSAGE}
ENV NODE_ENV=production
ENV NITRO_SHUTDOWN=true
ENV NITRO_PRESET=node_cluster
ENV NITRO_PRESET=node-server

COPY tsconfig.json .
COPY ./*.ts .
Expand All @@ -39,7 +39,7 @@ ENV NODE_ENV=production
ENV NITRO_PORT=3000
ENV NITRO_HOST=0.0.0.0
ENV NITRO_SHUTDOWN=true
ENV NITRO_PRESET=node_cluster
ENV NITRO_PRESET=node-server

HEALTHCHECK CMD curl --fail localhost:3000/health || exit 1
CMD ["node", "/app/.output/server/index.mjs"]

0 comments on commit a2a2254

Please sign in to comment.