From acd5dcd5220cfd1bc432b27efb78046cc51dd62f Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 9 Oct 2024 01:27:39 +0100 Subject: [PATCH] 7 --- projects/backend/Dockerfile | 1 + projects/website/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/projects/backend/Dockerfile b/projects/backend/Dockerfile index 6638f98..78a8698 100644 --- a/projects/backend/Dockerfile +++ b/projects/backend/Dockerfile @@ -13,6 +13,7 @@ WORKDIR /app ENV NODE_ENV production COPY --from=depends /app/projects/common ./projects/common +RUN bun i -g typescript RUN bun --filter '@ssr/common' build COPY --from=depends /app/node_modules ./node_modules diff --git a/projects/website/Dockerfile b/projects/website/Dockerfile index 3312f1b..47b3573 100644 --- a/projects/website/Dockerfile +++ b/projects/website/Dockerfile @@ -16,6 +16,7 @@ ARG GIT_REV ENV GIT_REV=${GIT_REV} COPY --from=depends /app/projects/common ./projects/common +RUN bun i -g typescript RUN bun --filter '@ssr/common' build COPY --from=depends /app/node_modules ./node_modules