heart2heart/deploy/Dockerfile

15 lines
224 B
Docker

FROM node:20.10.0
WORKDIR /usr/src/app
COPY package.json ./package.json
COPY package-lock.json ./package-lock.json
RUN npm i
RUN mkdir src
COPY src src
COPY scheme.psql .
COPY messages.json .
CMD ["npm", "run" ,"start"]