aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2022-03-12 20:38:33 -0500
committerGitHub <[email protected]>2022-03-12 19:38:33 -0600
commita60bde8d5bc708d08ddca61e347a4570b501e313 (patch)
tree133a1691a47697c66018583e6cea95a19f7f2c8a /Dockerfile
parentdb88e39c76a54215443f919a9f69f4af2f28526a (diff)
downloadmuse-a60bde8d5bc708d08ddca61e347a4570b501e313.tar.xz
muse-a60bde8d5bc708d08ddca61e347a4570b501e313.zip
Use on-the-fly transpiling with esmo (#562)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 47a3592..21ceac1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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