chore: update docker & makefile

This commit is contained in:
Sonny
2023-10-24 16:55:20 +02:00
parent 1a8e4e7270
commit 8558f5e979
8 changed files with 44 additions and 47 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:18-alpine3.17
WORKDIR /app
COPY ./ /app
RUN npm install
RUN npm run build
EXPOSE 3000
CMD npx prisma migrate deploy && npm run start