Added libapache2-mod-xsendfile to production Dockerfile
This commit is contained in:
parent
9e790e3013
commit
33a268ae81
@ -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 \
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user