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