mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-09 19:51:36 +02:00
Use on-the-fly transpiling with esmo (#562)
This commit is contained in:
parent
db88e39c76
commit
a60bde8d5b
7 changed files with 184 additions and 207 deletions
|
@ -24,12 +24,12 @@ FROM dependencies AS builder
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN yarn prisma generate && yarn build
|
||||
RUN yarn prisma generate
|
||||
|
||||
# Only copy essentials
|
||||
FROM base AS prod
|
||||
|
||||
COPY --from=builder /usr/app/dist dist
|
||||
COPY --from=builder /usr/app/src src
|
||||
COPY --from=builder /usr/app/schema.prisma .
|
||||
COPY --from=builder /usr/app/migrations migrations
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue