Added libapache2-mod-xsendfile to production Dockerfile

This commit is contained in:
Francesco Siddi 2015-10-08 15:16:00 +02:00
parent 9e790e3013
commit 33a268ae81
2 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,8 @@ libssl-dev \
libffi-dev \ libffi-dev \
software-properties-common \ software-properties-common \
apache2-mpm-event \ apache2-mpm-event \
libapache2-mod-wsgi libapache2-mod-wsgi \
libapache2-mod-xsendfile
RUN add-apt-repository ppa:mc3man/trusty-media \ RUN add-apt-repository ppa:mc3man/trusty-media \
&& apt-get update && apt-get install -y \ && apt-get update && apt-get install -y \

View File

@ -14,6 +14,7 @@ class Development(Config):
STORAGE_DIR = '{0}/application/static/storage'.format( STORAGE_DIR = '{0}/application/static/storage'.format(
os.path.join(os.path.dirname(__file__))) os.path.join(os.path.dirname(__file__)))
SHARED_DIR = '/storage/shared' SHARED_DIR = '/storage/shared'
USE_X_SENDFILE = False
PORT = 5000 PORT = 5000
HOST = '0.0.0.0' HOST = '0.0.0.0'
DEBUG = True DEBUG = True