Production ready

This commit is contained in:
Florian Sylvain committed 2023-03-09 12:24:50 +01:00
1 parent e06bd7fbcb
commit 2bb42e6aa1
8 files changed
+61 -2

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
FROM node:lts-hydrogen
WORKDIR /app
COPY package.json ./
COPY package-lock.json ./
COPY tsconfig.json ./
COPY .env ./
ADD src ./src/
ADD prisma ./prisma/
RUN npm ci
CMD npx prisma migrate deploy && npm start