heart2heart/deploy/Dockerfile

15 lines
224 B
Docker
Raw Normal View History

2024-08-03 03:48:20 +03:00
FROM node:20.10.0
WORKDIR /usr/src/app
COPY package.json ./package.json
COPY package-lock.json ./package-lock.json
RUN npm i
2024-08-08 16:08:36 +03:00
RUN mkdir src
COPY src src
COPY scheme.psql .
COPY messages.json .
2024-08-03 03:48:20 +03:00
CMD ["npm", "run" ,"start"]