Skip to content

Commit

Permalink
Merge pull request #5 from samply/fix/buildRealDevelopImage
Browse files Browse the repository at this point in the history
Use Profile development for develop Builds
  • Loading branch information
torbrenner authored May 16, 2024
2 parents 7f667e5 + f8a0a85 commit 9c8f8eb
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 9c8f8eb

Please sign in to comment.