Skip to content

Instantly share code, notes, and snippets.

@2j2e
Created October 11, 2016 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2j2e/b020b3684a32ad858f7e0c6d300a7cff to your computer and use it in GitHub Desktop.
Save 2j2e/b020b3684a32ad858f7e0c6d300a7cff to your computer and use it in GitHub Desktop.
Django CMS on Docker: Dockerfile
FROM python:3.4
ENV PIP_REQUIRE_VIRTUALENV false
RUN mkdir -p /cms/requirements/
ADD requirements/base.txt /cms/requirements/base.txt
RUN pip install -r /cms/requirements/base.txt
EXPOSE 8090
WORKDIR /cms/src
CMD python manage.py runserver --settings=config.settings.docker 0.0.0.0:8090
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment