Skip to content

Commit

Permalink
MOL-431: update dockerfile + packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tdang1-shopmacher committed Sep 12, 2024
1 parent 25ddb9e commit 448017d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion processor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

COPY ./package*.json ./

RUN npm install --production --frozen-lockfile
RUN npm install -g typescript && npm install --production --frozen-lockfile

COPY . .

Expand Down
10 changes: 5 additions & 5 deletions processor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "node dist/index.js",
"gcp-build": "tsc",
"start:dev": "concurrently -k \"tsc --watch\" \"nodemon -q dist/index.js\"",
"build": "rimraf ./dist && tsc",
"build": "rm -rf ./dist && tsc",
"watch": "nodemon -q --ignore '**/*.spec.ts' src/index.ts",
"lint": "eslint . --ext .ts",
"prettier:check": "prettier --check '**/*.{js,ts}'",
Expand All @@ -34,11 +34,7 @@
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.7",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.39",
"@types/node-fetch": "^2.6.11",
"@types/validator": "^13.12.0",
"@typescript-eslint/eslint-plugin": "7.13.1",
"@typescript-eslint/parser": "7.13.1",
"concurrently": "^8.2.2",
Expand All @@ -60,6 +56,10 @@
"typescript": "^5.5.3"
},
"dependencies": {
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node-fetch": "^2.6.11",
"@types/validator": "^13.12.0",
"@commercetools-backend/loggers": "^21.25.2",
"@commercetools/platform-sdk": "^4.11.0",
"@commercetools/sdk-client-v2": "^2.5.0",
Expand Down

0 comments on commit 448017d

Please sign in to comment.