Commit 0ddc903e authored by priit's avatar priit

Dockeri alge

parent bb02ec2a
......@@ -11,7 +11,7 @@ RUN apt-get update && \
apt-get -y install curl && \
curl -sL https://deb.nodesource.com/setup | sudo bash - && \
apt-get -y install python build-essential nodejs && \
apt-get -y install git
apt-get -y install git && echo "Installed"
RUN npm install -g forever
......
......@@ -10,4 +10,5 @@ if [ ! -f /src/config.js ]; then
cp -R -u -p /src/config_dist.js /src/config.js
fi
forever /src/app.js
\ No newline at end of file
forever start /src/app.js
top
\ No newline at end of file
......@@ -8,6 +8,6 @@ if [ -f /config/config.js ]; then
cp /config/config.js /src/config.js
fi
forever stopall
forever /src/app.js
forever list
\ No newline at end of file
forever restartall
forever list
top
\ 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