Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. FROM python:2.7-slim
  2. MAINTAINER Rina <rina@rina.com>
  3.  
  4. RUN apt-get update && apt-get install -qq -y \
  5. build-essential libpq-dev --no-install-recommends
  6.  
  7. ENV INSTALL_PATH /polefx
  8. RUN mkdir -p $INSTALL_PATH
  9.  
  10. WORKDIR $INSTALL_PATH
  11.  
  12. COPY requirements.txt requirements.txt
  13. RUN pip install -r requirements.txt
  14.  
  15. COPY . .
  16. RUN pip install --editable .
  17.  
  18. CMD gunicorn -b 0.0.0.0:8000 --access-logfile - "polefx.app:create_app()"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement