diff --git a/fluxer_server/Dockerfile b/fluxer_server/Dockerfile index 4854a74f..b34aa468 100644 --- a/fluxer_server/Dockerfile +++ b/fluxer_server/Dockerfile @@ -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