use production configuration in frontend dockerfile
This commit is contained in:
parent
7a168c2024
commit
6b57cdd20b
|
@ -12,7 +12,7 @@ WORKDIR /src
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build the project and copy the files
|
# 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
|
#RUN node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build -- --deploy-url=/ --prod
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
Loading…
Reference in New Issue