Skip to content

Commit

Permalink
fix: use profile development for develop builds
Browse files Browse the repository at this point in the history
  • Loading branch information
torbrenner committed May 16, 2024
1 parent 1e6ee5e commit f8a0a85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ RUN npm install && npm link @samply/lens-core @samply/lens-components
COPY ./angular.json ./tsconfig.json ./tsconfig.app.json ./tsconfig.spec.json ./
COPY ./src ./src
RUN if [ "${PRODUCTION}" = true ]; then \
npm run build:prod ${TARGET_PROJECT}; \
npm run build:prod; \
else \
npm run build ${TARGET_PROJECT}; \
npm run build; \
fi;

FROM nginx:stable-alpine
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"format": "prettier --write \"**/*.{js,ts,d.ts}\"",
"format:check": "prettier --check \"**/*.{js,ts,d.ts}\"",
"security:check": "npm audit --production --audit-level high",
"build": "ng build",
"build": "ng build --configuration development",
"build:prod": "ng build --configuration production",
"watch": "ng build --watch --configuration development",
"test": "ng test",
Expand Down

0 comments on commit f8a0a85

Please sign in to comment.