mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-09 19:51:36 +02:00
Fix Prisma migrations in Docker images
This commit is contained in:
parent
407af033b4
commit
99d7c0978d
2 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,10 @@ RUN yarn prisma generate && yarn build
|
|||
FROM base AS prod
|
||||
|
||||
COPY --from=builder /usr/app/dist dist
|
||||
COPY --from=builder /usr/app/schema.prisma .
|
||||
COPY --from=builder /usr/app/migrations migrations
|
||||
|
||||
RUN yarn prisma generate
|
||||
|
||||
ENV DATA_DIR /data
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue