fix(frontend): Dockerfile for build

This commit is contained in:
Bernhard Müller 2026-07-27 13:19:26 +02:00
parent 61968f7f82
commit 83b6d503cc

View File

@ -17,7 +17,7 @@ COPY eeg_frontend/package.json eeg_frontend/package-lock.json* ./
RUN npm ci --prefer-offline
COPY eeg_frontend/openapi.yaml ./
RUN npx openapi-generator-cli generate -i ./openapi.yaml -g typescript-angular -o ./eeg_frontend/src/app/api
RUN npx openapi-generator-cli generate -i ./openapi.yaml -g typescript-angular -o ./src/app/api
COPY eeg_frontend/ ./
RUN npm run build -- --configuration production