Create a gist now

Instantly share code, notes, and snippets.

Dockerfile for development
FROM python:3
RUN \
apt-get update &&\
apt-get -y install \
libpq-dev \
python-dev
WORKDIR /app
ADD ./manage.py /app/
ADD ./requirements.txt /app/
ADD ./requirements-dev.txt /app/
RUN pip install -r requirements.txt
RUN pip install -r requirements-dev.txt
ADD compose/django/start-dev.sh /start-dev.sh
RUN chmod +x /*.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment