diff --git a/Dockerfile b/Dockerfile index 4e0c61e..6358a04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/package.json b/package.json index 14f2073..bba4cc9 100644 --- a/package.json +++ b/package.json @@ -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",