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
kl-morph-analyser
Commits
39255de5
Commit
39255de5
authored
Feb 10, 2017
by
Indrek Jentson
Browse files
Muudatused Dockerfile's
parent
2ed9505e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
39255de5
...
...
@@ -22,7 +22,8 @@ FROM debian:jessie
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 wget
&&
\
apt-get
-y
install
build-essential nodejs wget
&&
\
apt-get
-y
install
g++ python3-dev python-dev libpython3-dev libpython-dev python3-pip python3-wheel python3-numpy swig
&&
\
apt-get
-y
install
git
&&
echo
"Installed 2"
# Tagame värskeima PIPi olemasolu
...
...
@@ -37,10 +38,11 @@ RUN npm install -g forever
RUN
mkdir
-p
/wrapper
&&
mkdir
-p
/config
&&
mkdir
-p
/wrapper/files
&&
mkdir
-p
/wrapper/tmp
&&
\
cd
/wrapper
&&
\
git clone
'https://github.com/BitWeb/keeleliin-wrapper-service.git'
.
&&
\
git clone
'https://github.com/BitWeb/keeleliin-wrapper-service.git'
&&
\
git clone
'https://gitlab.keeleressursid.ee/indrek-jentson/py_tokenizer.git'
&&
\
cp
py_tokenizer/config_dist.js
.
&&
\
cp
py_tokenizer/tokenizer.py
.
&&
\
mv
keeleliin-wrapper-service/
*
.
&&
\
npm
install
&&
\
echo
"NPM is installed"
...
...
@@ -58,4 +60,4 @@ EXPOSE 3003
VOLUME
["/config"]
CMD
/./wrapper/docker_start.sh
\ No newline at end of file
CMD
/./wrapper/docker_start.sh
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