mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2025-08-16 11:54:15 +08:00
fix: dockerfile
This commit is contained in:
@ -4,7 +4,7 @@ RUN mkdir -p /fastapi-admin
|
|||||||
WORKDIR /fastapi-admin
|
WORKDIR /fastapi-admin
|
||||||
COPY pyproject.toml poetry.lock /fastapi-admin/
|
COPY pyproject.toml poetry.lock /fastapi-admin/
|
||||||
ENV POETRY_VIRTUALENVS_CREATE false
|
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
|
COPY . /fastapi-admin
|
||||||
RUN poetry install && make compile
|
RUN poetry install && make compile
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user