1
0
forked from noxious/server

TS fix, deploy fix

This commit is contained in:
Dennis Postma 2024-07-10 20:16:42 +02:00
parent 0a60b711b9
commit 8a91fcee45
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"RUN mkdir -p /usr/src/app",
"WORKDIR /usr/src/app",
"COPY ./ /usr/src/app",
"RUN npm install && npm cache clean --force && npm run build",
"RUN npm install && npm cache clean --force && npm run build && npx prisma migrate deploy",
"ENV ENV production",
"ENV PORT 4000",
"EXPOSE 4000",

View File

@ -23,7 +23,6 @@
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^20.12.11",
"@types/socket.io": "^3.0.2",
"nodemon": "^3.1.0"
}
}