mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2026-01-08 10:49:35 +01:00
Dockerfile now correctly builds for using locking and compose file uses environment variables instead of mapping the config file into the container
9 lines
159 B
Docker
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"]
|