From 4d01668577e4d24bc0fec643837fc66b568ef98a Mon Sep 17 00:00:00 2001 From: 88lex Date: Thu, 6 Aug 2020 12:37:05 +0800 Subject: [PATCH] update DF --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 933d3a9..8aa6ff5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,11 @@ ENV EMAIL_PREFIX=svcacc ENV PROJECT_PREFIX=UniqPrefix ENV JSON_PREFIX=svcacc +ENV PIP_DISABLE_PIP_VERSION_CHECK=on +RUN pip install poetry WORKDIR /opt +COPY poetry.lock pyproject.toml /opt/ -RUN pip3 install . \ No newline at end of file +RUN poetry config virtualenvs.create false +RUN poetry install --no-interaction +COPY . /opt \ No newline at end of file