Skip to content

Instantly share code, notes, and snippets.

@Nagasaki45
Created February 29, 2016 19:39
Show Gist options
  • Save Nagasaki45/58bd4d758c1408d2c4b7 to your computer and use it in GitHub Desktop.
Save Nagasaki45/58bd4d758c1408d2c4b7 to your computer and use it in GitHub Desktop.
Dockerfile of Xteams django app
FROM python:3.5.1
RUN mkdir /code
WORKDIR /code
ADD . /code/
RUN pip install -r requirements/run.txt
ENV DJANGO_SETTINGS_MODULE xteams.settings.prod
RUN mkdir /staticfiles
RUN python manage.py collectstatic --noinput --clear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment