From 09fd4bbf9ecfdbd54fcb100d301fd8c4208e2400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Styczy=C5=84ski?= Date: Sun, 27 Oct 2019 17:48:48 +0100 Subject: [PATCH] Try to fix Docker build on Travis --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 98cdbbf..342784c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update RUN apt-get -y install python3 python3-pip RUN pip3 install virtualenv RUN apt-get -y install python-dev -RUN virtualenv venv ADD . /app/ WORKDIR /app/ -RUN bash -c "source ./venv/bin/activate && pip3 install -r requirements_dev.txt && python3 setup.py build --force && python3 setup.py install --force" \ No newline at end of file +RUN python3 -m virtualenv venv +RUN . ./venv/bin/activate && pip3 install -r requirements_dev.txt && python3 setup.py build --force && python3 setup.py install --force \ No newline at end of file