refactor: simplify turbo config, use it for develop + build (#65526)

This commit is contained in:
Oliver Eyton-Williams
2026-01-28 17:08:40 +01:00
committed by GitHub
parent 7f44e71852
commit f940f2beee
16 changed files with 65 additions and 76 deletions
+2 -4
View File
@@ -22,14 +22,12 @@ RUN pnpm config set dedupe-peer-dependents false
RUN pnpm install --frozen-lockfile --ignore-scripts
RUN cd api && pnpm prisma generate
# The api needs to source curriculum.json and build:curriculum relies on the
# The api needs to source curriculum.json and the build process relies on the
# following env vars.
ARG SHOW_UPCOMING_CHANGES=false
ENV SHOW_UPCOMING_CHANGES=$SHOW_UPCOMING_CHANGES
RUN pnpm turbo compile
RUN pnpm build:curriculum
RUN pnpm -F=api build
RUN pnpm turbo -F=@freecodecamp/api build
FROM node:24-bookworm AS deps
RUN apt-get update && apt-get install -y jq