Commit b95c6ec1 authored by Nicolas Gelot's avatar Nicolas Gelot Committed by Romain Hunault

Fix python package build in docker env

parent 052b5592
......@@ -6,13 +6,8 @@ RUN apk add \
libxml2-dev \
libxslt-dev
# Only to use the docker cache and optimize the build time
WORKDIR /src
COPY requirements.txt /src/requirements.txt
RUN pip3 install --prefix /install -r requirements.txt
COPY . /src/
RUN PYTHONPATH=/install/lib/python3.7/site-packages/ python3 setup.py install --prefix /install
RUN pip3 install --prefix /install /src
FROM python:3.7-alpine
......
Markdown is supported
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