Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Fix python package build in docker env

parent 052b5592
Loading
Loading
Loading
Loading

.dockerignore

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
tests
+1 −6
Original line number Diff line number Diff line
@@ -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