diff --git a/captain-definition b/captain-definition index d5cdef8..2432a2c 100644 --- a/captain-definition +++ b/captain-definition @@ -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", diff --git a/package.json b/package.json index 5f2f30d..aec322f 100644 --- a/package.json +++ b/package.json @@ -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" } }