File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM node:21-alpine
22WORKDIR /home/node/app/rems-directory
33
4+ ARG SERVER_PORT
5+ ENV SERVER_PORT=$SERVER_PORT
6+
7+ ARG SERVER_HOST
8+ ENV SERVER_HOST=$SERVER_HOST
9+
410COPY --chown=node:node . .
511RUN npm install
612EXPOSE 3323
713
8- HEALTHCHECK --interval=30s --start-period=15s --timeout=10m --retries=10 CMD wget --no-verbose --tries=1 --spider http://localhost:33333 /health || exit 1
14+ HEALTHCHECK --interval=30s --start-period=15s --timeout=10m --retries=10 CMD wget --no-verbose --tries=1 --spider http://${SERVER_HOST}:${SERVER_PORT} /health || exit 1
915CMD npm run dev
Original file line number Diff line number Diff line change 11FROM node:21-alpine
22WORKDIR /home/node/app/rems-directory
33
4+ ARG SERVER_PORT
5+ ENV SERVER_PORT=$SERVER_PORT
6+
7+ ARG SERVER_HOST
8+ ENV SERVER_HOST=$SERVER_HOST
9+
410COPY --chown=node:node . .
511RUN npm install
612EXPOSE 3323
713EXPOSE 3324
814
9- HEALTHCHECK --interval=30s --start-period=15s --timeout=10m --retries=10 CMD wget --no-verbose --tries=1 --spider http://localhost:33333 /health || exit 1
15+ HEALTHCHECK --interval=30s --start-period=15s --timeout=10m --retries=10 CMD wget --no-verbose --tries=1 --spider http://${SERVER_HOST}:${SERVER_PORT} /health || exit 1
1016CMD ./dockerRunnerDev.sh
You can’t perform that action at this time.
0 commit comments