48hr.email/Dockerfile

9 lines
145 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 i
CMD ["npm", "run", "start"]