Fix set -e conflict with prisma migrate resolve
Some checks failed
Build Docker Image / build (push) Failing after 4m19s
Some checks failed
Build Docker Image / build (push) Failing after 4m19s
This commit is contained in:
@@ -28,4 +28,4 @@ COPY scripts ./scripts
|
|||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
CMD ["sh", "-c", ". /app/scripts/load-vault-env.sh && npx prisma migrate resolve --applied 0_init 2>/dev/null; npx prisma migrate deploy && node dist/index.js"]
|
CMD ["sh", "-c", ". /app/scripts/load-vault-env.sh && set +e && npx prisma migrate resolve --applied 0_init 2>/dev/null; set -e && npx prisma migrate deploy && node dist/index.js"]
|
||||||
|
|||||||
Reference in New Issue
Block a user