More docker, express and config setup

This commit is contained in:
Florian Sylvain committed 2023-01-26 14:47:41 +01:00
1 parent 9a890135bc
commit 2082c9330c
7 files changed
+112 -9

No files matched your search

+5 -4
View File
@@ -4,10 +4,11 @@ WORKDIR /app
COPY package.json ./
COPY package-lock.json ./
COPY tsconfig.json ./
COPY .env ./
COPY app.js ./
ADD routes ./routes/
ADD src ./src/
ADD prisma ./prisma/
RUN npm ci
CMD ["npm", "run", "start"]
RUN npm ci
RUN npx prisma generate
CMD npm start