This is a pre-built Apache web server to run Python/Django web apps on using mod_wsgi
1.3K
This image is for Python Django Apps written in Python 2
Updated Python script that builds the apache conf file Added a bash script that builds the apache conf file Both scripts do the same thing, so use whichever you want.
There are 3 important ENV varibales you should use when using this
ENV SITE_SERVER_NAME
ENV SITE_SERVER_ADMIN
ENV SITE_DIRECTORY_NAME
Set these befor running the apache-site-conf.py, or apache-site-conf.sh script.
FROM btr1975/apache-py2-django:1.4
ENV SITE_SERVER_NAME="www.example.com"
ENV SITE_SERVER_ADMIN="[email protected]"
ENV SITE_DIRECTORY_NAME="SomeDir"
COPY ./SomeDir .
RUN chmod 755 -R /DjangoSites \
&& /bin/apache-site-conf.sh
Content type
Image
Digest
Size
228.1 MB
Last updated
over 8 years ago
docker pull btr1975/apache-py2-django