From 6d9da92fece1f6dbd954979af993bfb26ca11e70 Mon Sep 17 00:00:00 2001 From: long2ice Date: Mon, 10 Apr 2023 10:17:56 +0800 Subject: [PATCH] fix: dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d179903..e930563 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN mkdir -p /fastapi-admin WORKDIR /fastapi-admin COPY pyproject.toml poetry.lock /fastapi-admin/ ENV POETRY_VIRTUALENVS_CREATE false -RUN pip install --upgrade pip && pip3 install poetry && poetry install +RUN pip install --upgrade pip && pip3 install poetry && poetry install --no-root COPY . /fastapi-admin RUN poetry install && make compile