use production configuration in frontend dockerfile

This commit is contained in:
Alexandros Mandilaras 2024-04-08 14:03:29 +03:00
parent 7a168c2024
commit 6b57cdd20b
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ WORKDIR /src
COPY . .
# Build the project and copy the files
RUN npm run ng build -- --prod
RUN npm run ng build -- --configuration production
#RUN node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build -- --deploy-url=/ --prod
FROM nginx:alpine