From b78432b281e01b95ee8b67a58f2d865cabb8c0c0 Mon Sep 17 00:00:00 2001 From: Natan Lao Date: Wed, 30 May 2018 18:19:59 -0700 Subject: [PATCH] Fix docker image not building (fixes #70, #71) (#72) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index db792e8..3377731 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,13 @@ FROM nginx:1.10 RUN apt-get update RUN apt-get install -y build-essential libpq-dev libssl-dev libffi-dev python-dev RUN apt-get install -y python-pip postgresql -RUN pip install -U pip +RUN pip install -U pip setuptools RUN pip install uwsgi RUN pip install --upgrade cffi #WORKDIR /app RUN apt-get install -y uwsgi-plugin-python ADD ./requirements.txt /app/requirements.txt -RUN pip install -r /app/requirements.txt +RUN pip install --ignore-installed -r /app/requirements.txt #Make NGINX run on the foreground RUN echo "daemon off;" >> /etc/nginx/nginx.conf