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
ff3c6c4d
Commit
ff3c6c4d
authored
Nov 04, 2015
by
priit
Browse files
Dockeri alge
parent
d8d617bb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
ff3c6c4d
...
...
@@ -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
...
...
docker_start.sh
View file @
ff3c6c4d
...
...
@@ -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
docker_update.sh
View file @
ff3c6c4d
...
...
@@ -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
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