Skip to content

Commit

Permalink
revert repo settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sandyVidanes committed Feb 4, 2023
1 parent 9f95b8c commit f11e48d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
21 changes: 9 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
version: "3.5"
services:
nodejs:
build: .
container_name: "inception-mqtt"
volumes:
- ./:/usr/src/app
- /usr/src/app/node_modules
- /usr/src/app/dist
- /usr/src/app/config
environment:
- TZ=Australia/Perth
restart: unless-stopped
networks:
- app
build: .
container_name: "inception-mqtt"
volumes:
- ./:/usr/src/app
- /usr/src/app/node_modules
- /usr/src/app/dist
- /usr/src/app/config
networks:
- app
networks:
app:
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"private": true,
"main": "./dist/index.js",
"scripts": {
"start": "./node_modules/.bin/if-env NODE_ENV=local && npm run start:dev || npm run start:prod",
"start": "if-env NODE_ENV=local && npm run start:dev || npm run start:prod",
"start:prod": "node ./dist/index.js",
"start:dev": "./node_modules/.bin/tsc-watch --onSuccess \"npm run start:prod\" ",
"start:dev": "tsc-watch --onSuccess \"npm run start:prod\" ",
"build": "./node_modules/typescript/bin/tsc -p ./tsconfig.json"
},
"dependencies": {
Expand Down

0 comments on commit f11e48d

Please sign in to comment.