Skip to content
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
FROM node:18-alpine
WORKDIR /rems-admin

ARG PORT=8090
ENV PORT=${PORT}

COPY --chown=node:node . .
RUN npm install
EXPOSE 8090

HEALTHCHECK --interval=30s --start-period=15s --timeout=10m --retries=10 CMD wget --no-verbose --tries=1 --spider http://localhost:${PORT} || exit 1
EXPOSE 8095
CMD npm run start
7 changes: 7 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
FROM node:18-alpine
WORKDIR /rems-admin

ARG PORT=8090
ENV PORT=${PORT}

COPY --chown=node:node . .
RUN npm install
EXPOSE 8090
EXPOSE 8091

HEALTHCHECK --interval=30s --start-period=15s --timeout=10m --retries=10 CMD wget --no-verbose --tries=1 --spider http://localhost:${PORT} || exit 1

EXPOSE 8095
EXPOSE 8096
CMD ./dockerRunnerDev.sh
2 changes: 1 addition & 1 deletion src/rems-cds-hooks