fix: dockerfile

This commit is contained in:
long2ice
2023-04-09 23:06:02 +08:00
parent 0998842858
commit a48cf3eca7
5 changed files with 1 additions and 1 deletions

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 --no-root
RUN pip install --upgrade pip && pip3 install poetry && poetry install
COPY . /fastapi-admin
RUN poetry install && make compile