diff --git a/Dockerfile b/Dockerfile index 6b7cce9..b5d02f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,14 +4,14 @@ FROM python:${PYTHON}-stretch RUN apt-get update && apt-get install -y pandoc -RUN pip install poetry==1.0.0 && poetry config virtualenvs.create false && pip install -U pip +RUN pip install --no-cache-dir poetry==1.0.0 && poetry config virtualenvs.create false && pip install --no-cache-dir -U pip ADD poetry.lock /tmp ADD pyproject.toml /tmp RUN cd /tmp && poetry install ADD docs/requirements.txt /tmp/requirements-docs.txt -RUN pip install -r /tmp/requirements-docs.txt +RUN pip install --no-cache-dir -r /tmp/requirements-docs.txt ADD . /yangify