FROM python:3.6
ENV PYTHONUNBUFFERED 1
WORKDIR /sapl-dev
COPY ./requirements ./requirements/
RUN apt update && \
    apt -y install graphviz-dev && \
    pip install --upgrade pip && \
    pip install -r ./requirements/dev-requirements.txt
EXPOSE 8000