Update deps & add docker

This commit is contained in:
Sonny
2023-02-08 16:49:49 +01:00
parent ca7f8a5d9d
commit 1110734394
12 changed files with 2479 additions and 2103 deletions

12
docker/Dockerfile Normal file
View File

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