forked from noxious/server
TS fix, deploy fix
This commit is contained in:
parent
0a60b711b9
commit
8a91fcee45
@ -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",
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user