mirror of
https://github.com/Floriansylvain/space-game-api.git
synced 2026-10-18 20:04:12 +02:00
Initial commit
This commit is contained in:
commit
d3109983fe
20 files changed
+7811
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
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 install
|
||||
RUN npx prisma generate
|
||||
RUN npm run build
|
||||
|
||||
CMD npx prisma migrate deploy && npm run start
|
||||
Reference in new issue
Block a user