From d400023f513f35c64e04e99d536bd9cc2890712c Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 3 Oct 2024 19:57:41 +0100 Subject: [PATCH] attempt 5.5? --- apps/frontend/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/frontend/Dockerfile b/apps/frontend/Dockerfile index ac9117c..7c816b9 100644 --- a/apps/frontend/Dockerfile +++ b/apps/frontend/Dockerfile @@ -19,10 +19,6 @@ RUN apk update RUN apk add --no-cache python3 make g++ gcc pkgconfig pixman cairo-dev libjpeg-turbo-dev pango-dev giflib-dev WORKDIR /app -# First install the dependencies (as they change less often) -COPY --from=builder /app/out/json/ . -RUN pnpm install --frozen-lockfile --quiet - # Add the commit hash ARG GIT_REV ENV GIT_REV=${GIT_REV} @@ -34,6 +30,10 @@ ENV SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN} ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1 +# First install the dependencies (as they change less often) +COPY --from=builder /app/out/json/ . +RUN pnpm install --frozen-lockfile --quiet + # Build the project COPY --from=builder /app/out/full/ . RUN pnpm turbo run build --filter=frontend...