Fixed Dockerfile to run migrations
This commit is contained in:
@@ -49,4 +49,4 @@ COPY package.json ./
|
||||
WORKDIR /app/apps/backend
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["bun", "run", "start"]
|
||||
CMD ["sh", "-lc", "bun run prisma:migrate:deploy && bun run start"]
|
||||
|
||||
Reference in New Issue
Block a user