diff --git a/Dockerfile b/Dockerfile index 4f60331..190f0cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,9 @@ WORKDIR /app/eeg_frontend 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 ./src/app/api + COPY eeg_frontend/ ./ RUN npm run build -- --configuration production