fix: dockerfile

This commit is contained in:
long2ice
2023-04-10 10:17:56 +08:00
parent a48cf3eca7
commit 6d9da92fec

View File

@@ -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