fix(web): use absolute path for CSS stub loader in Docker
Some checks failed
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled
CI / Docker build (linux/amd64) (push) Has been cancelled

This commit is contained in:
Alejandro Gutiérrez
2026-04-09 00:43:07 +01:00
parent 3f46a6657a
commit c66e3adf67

View File

@@ -27,7 +27,7 @@ ENV NEXT_PUBLIC_DEFAULT_LOCALE=$NEXT_PUBLIC_DEFAULT_LOCALE
# Node ESM loader that stubs .css imports during route collection.
# Payload CMS deps import .css files that Node can't handle outside webpack.
ENV NODE_OPTIONS="--import ./apps/web/css-stub-loader.mjs"
ENV NODE_OPTIONS="--import /app/apps/web/css-stub-loader.mjs"
RUN npx turbo run build --filter=web...
# Stage 2: runtime — standalone output only