Commit 03c1d970 authored by Anna Warno's avatar Anna Warno
Browse files

dataset-maker package installation corrected

parent 45730456
......@@ -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"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment