fix(docker): reinstall dependencies after copying source
Some checks failed
release server / resolve build metadata (push) Successful in 8s
release server / build fluxer server (push) Failing after 3m21s
release server / create release (push) Has been skipped
release server / release summary (push) Failing after 5s

After copying the full package source, we need to run pnpm install again
to ensure all dependencies are properly linked and TypeScript can find
all required modules like idna-uts46-hx.
This commit is contained in:
2026-03-01 12:00:53 -05:00
parent 7c903e72e0
commit a890b11bf2

View File

@@ -120,6 +120,9 @@ COPY config/ ./config/
COPY packages/ ./packages/
COPY fluxer_app/ ./fluxer_app/
# Reinstall to ensure all dependencies are properly linked after copying source
RUN pnpm install --frozen-lockfile
# Set FLUXER_CONFIG for rspack to derive API endpoints
ENV FLUXER_CONFIG=/usr/src/app/config/config.production.template.json