Skip to content
This repository was archived by the owner on Dec 5, 2018. It is now read-only.

Commit b78432b

Browse files
natanlaocoverbeck
authored andcommitted
Fix docker image not building (fixes #70, #71) (#72)
1 parent 5a6dcac commit b78432b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ FROM nginx:1.10
33
RUN apt-get update
44
RUN apt-get install -y build-essential libpq-dev libssl-dev libffi-dev python-dev
55
RUN apt-get install -y python-pip postgresql
6-
RUN pip install -U pip
6+
RUN pip install -U pip setuptools
77
RUN pip install uwsgi
88
RUN pip install --upgrade cffi
99
#WORKDIR /app
1010
RUN apt-get install -y uwsgi-plugin-python
1111
ADD ./requirements.txt /app/requirements.txt
12-
RUN pip install -r /app/requirements.txt
12+
RUN pip install --ignore-installed -r /app/requirements.txt
1313
#Make NGINX run on the foreground
1414
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
1515

0 commit comments

Comments
 (0)