From 8aa46d0e48cbe0981b5889ec1a30529aba8f2d5b Mon Sep 17 00:00:00 2001 From: Alex Leith Date: Fri, 6 Mar 2020 11:43:47 +1100 Subject: [PATCH] dont remove code --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 664bebefe..81d2b40db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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