2015-10-04 03:06:33 +00:00
|
|
|
FROM python:3.5
|
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
|
|
|
|
|
|
# Requirements have to be pulled and installed here, otherwise caching won't work
|
2015-10-22 19:35:55 +00:00
|
|
|
COPY ./requirements /requirements
|
2015-10-04 03:06:33 +00:00
|
|
|
RUN pip install -r /requirements/local.txt
|
|
|
|
|
|
2015-10-22 19:35:55 +00:00
|
|
|
COPY ./compose/django/entrypoint.sh /entrypoint.sh
|
2016-01-06 17:04:36 +00:00
|
|
|
RUN sed -i 's/\r//' /entrypoint.sh
|
2015-10-24 17:27:04 +00:00
|
|
|
RUN chmod +x /entrypoint.sh
|
2015-10-04 03:06:33 +00:00
|
|
|
|
2016-08-16 19:20:41 +00:00
|
|
|
COPY ./compose/django/start-dev.sh /start-dev.sh
|
|
|
|
|
RUN sed -i 's/\r//' /start-dev.sh
|
|
|
|
|
RUN chmod +x /start-dev.sh
|
|
|
|
|
|
2015-10-04 03:06:33 +00:00
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|