Skip to content

Commit

Permalink
dont remove code
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgleith authored and Alex Leith committed Mar 6, 2020
1 parent 2bcbb28 commit 8aa46d0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,5 @@ RUN if [ "$ENVIRONMENT" = "deployment" ] ; then FLAG='' ; else FLAG='-e'; fi \
&& pip3 install ${FLAG} .[${ENVIRONMENT}] \
&& rm -rf $HOME/.cache/pip

RUN if [ "$ENVIRONMENT" = "deployment" ] ; then rm -r /code/* ; fi

# This is for prod, and serves as docs. It's usually overwritten
CMD gunicorn -b '0.0.0.0:8080' -w 1 '--worker-class=egg:meinheld#gunicorn_worker' --timeout 60 cubedash:app

0 comments on commit 8aa46d0

Please sign in to comment.