This commit is contained in:
pablof7z 2023-05-31 20:27:33 +02:00
commit 28f4788aec
13 changed files with 3543 additions and 7 deletions

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM --platform=linux/amd64 node:19 as build
WORKDIR /app
COPY package.json .
RUN npm i
COPY . .
RUN npm run build
RUN npx prisma generate
ENTRYPOINT [ "node", "dist/index.js" ]
CMD ["start"]