Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM python
- ENV RUNNING_MODE production
- WORKDIR /app
- COPY Pipfile Pipfile.lock /app/
- RUN pip install pipenv && \
- pipenv install --system --deploy --ignore-pipfile
- COPY . /app/
- EXPOSE 8000
- CMD pipenv run gunicorn app:app -k gevent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement