20 lines
598 B
Docker
20 lines
598 B
Docker
FROM python:3.5
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
ENV PYTHONDONTWRITEBYTECODE 1
|
|
|
|
# Requirements have to be pulled and installed here, otherwise caching won't work
|
|
COPY ./requirements.apt /requirements.apt
|
|
COPY ./install_os_dependencies.sh /install_os_dependencies.sh
|
|
RUN bash install_os_dependencies.sh install
|
|
|
|
RUN mkdir /requirements
|
|
COPY ./requirements/base.txt /requirements
|
|
RUN pip install -r /requirements/base.txt
|
|
COPY ./requirements/local.txt /requirements
|
|
RUN pip install -r /requirements/local.txt
|
|
COPY ./requirements/test.txt /requirements
|
|
RUN pip install -r /requirements/test.txt
|
|
|
|
WORKDIR /app
|