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
d8d617bb
Commit
d8d617bb
authored
Nov 04, 2015
by
priit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dockeri alge
parent
6d79644a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Dockerfile
Dockerfile
+4
-6
docker_start.sh
docker_start.sh
+2
-1
No files found.
Dockerfile
View file @
d8d617bb
...
...
@@ -5,23 +5,21 @@
# docker rm kl_wrapper
#
FROM
ubuntu:14.04
FROM
debian:jessie
RUN
apt-get update
&&
\
apt-get
-y
install
curl
&&
\
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"
RUN
npm
install
-g
forever
RUN
mkdir
-p
/src
&&
mkdir
-p
/config
&&
\
RUN
mkdir
-p
/src
&&
mkdir
-p
/config
&&
mkdir
-p
/wrapper/files
&&
mkdir
-p
/wrapper/tmp
&&
\
cd
/src
&&
\
git clone
'https://github.com/BitWeb/keeleliin-wrapper-service.git'
.
&&
\
npm
install
&&
\
pwd
&&
\
ls
-la
&&
\
echo
"NPM is installed 3"
echo
"NPM is installed 4"
#Expose port
EXPOSE
3000
...
...
docker_start.sh
View file @
d8d617bb
...
...
@@ -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 /src/app.js
tail
\ No newline at end of file
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