feat: dockerfile and docker-compose

This commit is contained in:
GitBluub
2022-06-19 22:39:25 +02:00
parent 8ed33d2fe8
commit 039a53ef34
5 changed files with 58 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM node:17
WORKDIR /app
COPY ./package.json ./
RUN npm install
COPY . .
RUN npx prisma generate
RUN npm run build
CMD ["npm", "run", "start:prod"]