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