48hr.email/Dockerfile
ClaraCrazy 69011624a7
[Chore]: Updated Docker build
Dockerfile now correctly builds for using locking and compose file uses environment variables instead of mapping the config file into the container
2026-01-03 15:38:23 +01:00

9 lines
159 B
Docker

FROM node:22
COPY . /home/node/app
RUN chown -R node:node /home/node/app
WORKDIR /home/node/app
USER node
RUN npm ci
RUN mkdir db
CMD ["npm", "run", "start"]