Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
keeleliin
keeleliin-wrapper
Commits
6d79644a
Commit
6d79644a
authored
Nov 04, 2015
by
priit
Browse files
Dockeri alge
parent
5784e173
Changes
3
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
6d79644a
...
...
@@ -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
...
...
docker_start.sh
View file @
6d79644a
...
...
@@ -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
docker_update.sh
View file @
6d79644a
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment