Commit ff3c6c4d authored by priit's avatar priit

Dockeri alge

parent d8d617bb
......@@ -19,7 +19,7 @@ RUN mkdir -p /src && mkdir -p /config && mkdir -p /wrapper/files && mkdir -p /wr
cd /src && \
git clone 'https://github.com/BitWeb/keeleliin-wrapper-service.git' . && \
npm install && \
echo "NPM is installed 4"
echo "NPM is installed 5"
#Expose port
EXPOSE 3000
......
......@@ -10,5 +10,6 @@ if [ ! -f /src/config.js ]; then
cp -R -u -p /src/config_dist.js /src/config.js
fi
forever /src/app.js
forever start /src/app.js
forever list
tail
\ No newline at end of file
......@@ -8,5 +8,4 @@ if [ -f /config/config.js ]; then
cp /config/config.js /src/config.js
fi
forever stopall
forever /src/app.js
\ No newline at end of file
forever restartall
\ 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