Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
keeleliin-wrapper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
keeleliin
keeleliin-wrapper
Commits
e3c3aa26
Commit
e3c3aa26
authored
Dec 16, 2015
by
priit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker kirjeldus
parent
dbce44e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
Dockerfile
Dockerfile
+1
-1
docker_start.sh
docker_start.sh
+7
-2
No files found.
Dockerfile
View file @
e3c3aa26
...
...
@@ -11,7 +11,7 @@ RUN apt-get update && \
apt-get
-y
install
curl
sudo
&&
\
curl
-sL
https://deb.nodesource.com/setup |
sudo
bash -
&&
\
apt-get
-y
install
python build-essential nodejs
&&
\
apt-get
-y
install
git
&&
echo
"Installed"
apt-get
-y
install
git
&&
echo
"Installed
2
"
RUN
npm
install
-g
forever
...
...
docker_start.sh
View file @
e3c3aa26
#!/bin/bash
cd
/src
git pull
npm
install
if
[
!
-f
/config/config.js
]
;
then
cp
-R
-u
-p
/src/config_dist.js /config/config.js
fi
...
...
@@ -12,6 +16,7 @@ if [ ! -f /src/config.js ]; then
cp
-R
-u
-p
/src/config_dist.js /src/config.js
fi
forever start /src/app.js
forever start
-l
/forever.log
/src/app.js
forever list
tail
\ No newline at end of file
tail
-f
/forever.log
Write
Preview
Markdown
is supported
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