fix(frontend): Dockerfile for build
This commit is contained in:
parent
6dce65b39c
commit
3e33bb797a
@ -12,7 +12,7 @@ COPY eeg_frontend/package.json eeg_frontend/package-lock.json* ./
|
|||||||
RUN npm ci --prefer-offline
|
RUN npm ci --prefer-offline
|
||||||
|
|
||||||
COPY eeg_frontend/openapi.yaml ./
|
COPY eeg_frontend/openapi.yaml ./
|
||||||
RUN npx openapi-generator-cli generate -i ./openapi.yaml -g typescript-angular -o ./src/app/api
|
RUN npx openapi-generator-cli generate -i ./openapi.yaml -g typescript-angular -o ./eeg_frontend/src/app/api
|
||||||
|
|
||||||
COPY eeg_frontend/ ./
|
COPY eeg_frontend/ ./
|
||||||
RUN npm run build -- --configuration production
|
RUN npm run build -- --configuration production
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user