uses entrypoint and cmd in docker file
This commit is contained in:
parent
b7af228e94
commit
cecdd2d9fd
|
@ -36,4 +36,6 @@ ADD . /app
|
|||
|
||||
# Grab the current local timezone from an external api and save it into /etc/timezone, otherwise Tor will complain and won't start
|
||||
|
||||
CMD npm start
|
||||
ENTRYPOINT [ "tor-router" ]
|
||||
|
||||
CMD [ "-s", "-d", "-j", "1" ]
|
|
@ -10,7 +10,7 @@
|
|||
"tor-router": "bin/tor-router"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "bin/tor-router -l debug -s -d -j 1",
|
||||
"start": "bin/tor-router -s -d -j 1",
|
||||
"test": "mocha test/test.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
Loading…
Reference in a new issue