Skip to content

Commit

Permalink
Merge pull request #79 from donghquinn/dev
Browse files Browse the repository at this point in the history
package-deploy scripts
  • Loading branch information
donghquinn authored Mar 14, 2024
2 parents a67e013 + 370785a commit b12b5ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ services:
backend:
depends_on:
- redis
image: ${REGISTRY_URL}
# build:
# context: .
# dockerfile: ./Dockerfile-deploy
# image: ${REGISTRY_URL}
build:
context: .
dockerfile: ./Dockerfile-deploy
container_name: news_miner
restart: unless-stopped
volumes:
Expand Down
1 change: 1 addition & 0 deletions package-deploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"type": "module",
"scripts": {
"start": "NODE_ENV=production node --max-old-space-size=700 -r ts-node/register --loader ts-paths-esm-loader --experimental-specifier-resolution=node ./src/main.js",
"build": "NODE_ENV=production tsc --project tsconfig.json --diagnostics -p tsconfig.json",
"schema": "prisma generate"
},
"dependencies": {
Expand Down

0 comments on commit b12b5ef

Please sign in to comment.