Skip to content

Commit

Permalink
Merge pull request #74 from companieshouse/feature/package.json-edits
Browse files Browse the repository at this point in the history
changes to ecs build and package.json
  • Loading branch information
akachwala-ch authored Feb 14, 2024
2 parents 60a45ce + 60e1848 commit 44d2333
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ecs-image-build/docker_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
PORT=3000

export NODE_PORT=${PORT}
exec node /opt/dist/src/main/server.js -- ${PORT}
exec node /opt/server.js -- ${PORT}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "acsp-web",
"version": "1.0.0",
"description": "A web application for the Authorized Corporate Service Providers (ACSP)",
"main": "dist/src/main/server.js",
"main": "dist/server.js",
"engines": {
"node": ">=20.0.0",
"npm": "^10"
Expand All @@ -16,7 +16,7 @@
"lint:fix": "eslint 'src/**/*.ts' 'src/test/src/**/*.ts' --fix",
"test:coverage": "npm run test -- --coverage",
"test": "jest",
"start": "npm run build && source ./dist/config/.env && node dist/src/main/server.js",
"start": "npm run build && source ./dist/config/.env && node dist/server.js",
"start:watch": "nodemon",
"sonarqube": "sonar-scanner"
},
Expand Down

0 comments on commit 44d2333

Please sign in to comment.