This is a pre-built Apache web server to run Python3/Django web apps on using mod_wsgi
1.4K
This image is for Python Django Apps written in Python 3
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-py3-django:1.3
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
240 MB
Last updated
over 8 years ago
docker pull btr1975/apache-py3-django