Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Use Profile development for develop Builds #5

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading