diff --git a/fluxer_server/Dockerfile b/fluxer_server/Dockerfile index ee296fd3..4854a74f 100644 --- a/fluxer_server/Dockerfile +++ b/fluxer_server/Dockerfile @@ -123,6 +123,9 @@ COPY fluxer_app/ ./fluxer_app/ # Set FLUXER_CONFIG for rspack to derive API endpoints ENV FLUXER_CONFIG=/usr/src/app/config/config.production.template.json +# Generate locale message files before build (needed for TypeScript compilation) +RUN cd fluxer_app && pnpm lingui:compile + RUN cd fluxer_app && pnpm build FROM node:24-trixie-slim AS production