Fix back prisma migrations on docker

This commit is contained in:
Zoe Roux
2022-09-27 11:43:31 +09:00
parent d4a114dca7
commit 71c35d4016
+1 -1
View File
@@ -5,4 +5,4 @@ RUN npm install --frozen-lockfile
COPY . . COPY . .
RUN npx prisma generate RUN npx prisma generate
RUN npm run build RUN npm run build
CMD npx prisma migrate ; npm run start:prod CMD npx prisma migrate dev; npm run start:prod