Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Melodic
morphemic-preprocessor
Commits
03c1d970
Commit
03c1d970
authored
Mar 29, 2022
by
Anna Warno
Browse files
dataset-maker package installation corrected
parent
45730456
Changes
1
Hide whitespace changes
Inline
Side-by-side
deployment/arima/Dockerfile
View file @
03c1d970
...
...
@@ -5,10 +5,15 @@ WORKDIR /wd
COPY
deployment/arima/poetry.lock deployment/arima/pyproject.toml /wd/
RUN
pip
install
--no-cache-dir
--upgrade
pip
\
&&
pip
install
--no-cache-dir
poetry
\
\
&&
poetry
install
--no-dev
&&
mkdir
models
# Install and setup poetry
RUN
pip
install
-U
pip
\
&&
apt-get update
\
&&
apt
install
-y
curl netcat
\
&&
curl
-sSL
https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
ENV
PATH="${PATH}:/root/.poetry/bin"
RUN
poetry config virtualenvs.create
false
\
&&
poetry
install
--no-interaction
--no-ansi
--no-dev
ADD
https://gitlab.ow2.org/melodic/morphemic-preprocessor/-/archive/morphemic-rc2.0/morphemic-preprocessor-morphemic-rc2.0.tar.gz /var/lib/morphemic/
...
...
@@ -23,6 +28,5 @@ RUN cd /var/lib/morphemic/ \
&& cp -R /var/lib/morphemic/morphemic-preprocessor-morphemic-rc2.0/amq-message-python-library /wd/amq_message_python_library \
&& rm -rf /var/lib/morphemic
CMD
["poetry", "run" ,"python3", "main.py"]
CMD
["python3", "main.py"]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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