mirror of
https://github.com/Floriansylvain/ParisMuseesQuizz.git
synced 2026-10-19 02:43:51 +02:00
Production ready
This commit is contained in:
1 parent
e06bd7fbcb
commit
2bb42e6aa1
8 files changed
+61
-2
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user