Skip to content

Commit

Permalink
fix dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainGlac1er committed Jul 5, 2024
1 parent f392b1c commit ee1f815
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ COPY --from=builder /project/dist /project/dist
COPY ./package*.json /project/
WORKDIR /project
RUN npm ci --only=prod --quiet --no-progress
CMD ["node", "dist/server/server.mjs"]
WORKDIR /project/dist
CMD ["node", "server/server.mjs"]
3 changes: 2 additions & 1 deletion beta.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ COPY --from=builder /project/dist /project/dist
COPY ./package*.json /project/
WORKDIR /project
RUN npm ci --only=prod --quiet --no-progress
CMD ["node", "dist/server/server.mjs"]
WORKDIR /project/dist
CMD ["node", "server/server.mjs"]
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"lint-fix": "eslint --fix . --ext .ts",
"test": "ng test",
"test:once": "ng test --watch=false",
"build:client-and-server-bundles": "ng build --configuration production && ng run angular-georgecolgrove:server:production",
"build:staging:client-and-server-bundles": "ng run angular-georgecolgrove:build:staging && ng run angular-georgecolgrove:server:staging",
"build:client-and-server-bundles": "ng build --configuration production",
"build:staging:client-and-server-bundles": "ng run angular-georgecolgrove:build:staging",
"start:ssr": "npm run build:ssr && npm run serve:ssr",
"generate-bundle-report": "ng build --stats-json",
"generate-bundle-report-prod": "ng build --configuration production --stats-json",
Expand Down

0 comments on commit ee1f815

Please sign in to comment.