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

Commit

Permalink
Fix docker image not building (fixes #70, #71) (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
natanlao authored and coverbeck committed May 31, 2018
1 parent 5a6dcac commit b78432b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b78432b

Please sign in to comment.