django-py3.dockerfile 245 B

123456789
  1. FROM tfb/python3:latest
  2. ADD ./ /django
  3. WORKDIR /django
  4. RUN pip3 install --install-option="--prefix=${PY3_ROOT}" -r /django/requirements_py3.txt
  5. CMD gunicorn --pid=gunicorn.pid hello.wsgi:application -c gunicorn_conf.py --env DJANGO_DB=mysql