Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. FROM python
  2.  
  3. ENV RUNNING_MODE production
  4.  
  5. WORKDIR /app
  6.  
  7. COPY Pipfile Pipfile.lock /app/
  8.  
  9. RUN pip install pipenv && \
  10. pipenv install --system --deploy --ignore-pipfile
  11.  
  12. COPY . /app/
  13.  
  14. EXPOSE 8000
  15.  
  16. CMD pipenv run gunicorn app:app -k gevent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement