Commit 6d79644a authored by priit's avatar priit

Dockeri alge

parent 5784e173
......@@ -21,7 +21,7 @@ git clone 'https://github.com/BitWeb/keeleliin-wrapper-service.git' . && \
npm install && \
pwd && \
ls -la && \
echo "NPM is installed 2"
echo "NPM is installed 3"
#Expose port
EXPOSE 3000
......
......@@ -10,5 +10,4 @@ if [ ! -f /src/config.js ]; then
cp -R -u -p /src/config_dist.js /src/config.js
fi
forever start /src/app.js
tail -f /src/wrapper.log
\ No newline at end of file
forever /src/app.js
\ No newline at end of file
......@@ -8,5 +8,5 @@ if [ -f /config/config.js ]; then
cp /config/config.js /src/config.js
fi
forever restartall
forever list
\ No newline at end of file
forever stopall
forever /src/app.js
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment