ciyidogan commited on
Commit
1899777
Β·
verified Β·
1 Parent(s): 412dc3c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -23,10 +23,10 @@ RUN rm -rf .angular/ dist/ node_modules/.cache/
23
  # Build the Angular app based on BUILD_ENV
24
  RUN if [ "$BUILD_ENV" = "development" ] ; then \
25
  echo "πŸ”§ Building for DEVELOPMENT..." && \
26
- npm run build -- --configuration=development --output-path=dist/flare-ui ; \
27
  else \
28
  echo "πŸš€ Building for PRODUCTION..." && \
29
- npm run build -- --configuration=production --output-path=dist/flare-ui ; \
30
  fi
31
 
32
  # Add environment info to container
 
23
  # Build the Angular app based on BUILD_ENV
24
  RUN if [ "$BUILD_ENV" = "development" ] ; then \
25
  echo "πŸ”§ Building for DEVELOPMENT..." && \
26
+ npm run build:dev -- --output-path=dist/flare-ui ; \
27
  else \
28
  echo "πŸš€ Building for PRODUCTION..." && \
29
+ npm run build:prod -- --output-path=dist/flare-ui ; \
30
  fi
31
 
32
  # Add environment info to container