Skip to content

Instantly share code, notes, and snippets.

@shearluck
Created March 14, 2016 06:00
Show Gist options
  • Save shearluck/2c0d0296ad30347f5772 to your computer and use it in GitHub Desktop.
Save shearluck/2c0d0296ad30347f5772 to your computer and use it in GitHub Desktop.
Dockerfile
FROM django:1.9-python3
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /usr/src/app
EXPOSE 8000
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment