attempt 5.5?
Some checks failed
Deploy Frontend / deploy (push) Failing after 1m29s

This commit is contained in:
Lee 2024-10-03 19:57:41 +01:00
parent d22a155a97
commit d400023f51

@ -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 RUN apk add --no-cache python3 make g++ gcc pkgconfig pixman cairo-dev libjpeg-turbo-dev pango-dev giflib-dev
WORKDIR /app 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 # Add the commit hash
ARG GIT_REV ARG GIT_REV
ENV GIT_REV=${GIT_REV} ENV GIT_REV=${GIT_REV}
@ -34,6 +30,10 @@ ENV SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}
ENV NODE_ENV=production ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1 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 # Build the project
COPY --from=builder /app/out/full/ . COPY --from=builder /app/out/full/ .
RUN pnpm turbo run build --filter=frontend... RUN pnpm turbo run build --filter=frontend...