Use on-the-fly transpiling with esmo (#562)

This commit is contained in:
Max Isom 2022-03-12 20:38:33 -05:00 committed by GitHub
parent db88e39c76
commit a60bde8d5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 184 additions and 207 deletions

View file

@ -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