mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2026-03-13 10:32:25 +08:00
update Dockerfile
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
FROM python:3
|
||||
FROM jfloff/alpine-python
|
||||
ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
|
||||
RUN mkdir -p /fastapi-admin
|
||||
WORKDIR /fastapi-admin
|
||||
COPY pyproject.toml poetry.lock /fastapi-admin/
|
||||
@@ -7,4 +8,4 @@ ENV POETRY_VIRTUALENVS_CREATE false
|
||||
RUN poetry install --no-root
|
||||
COPY . /fastapi-admin
|
||||
RUN poetry install
|
||||
RUN make compile
|
||||
RUN make compile
|
||||
|
||||
Reference in New Issue
Block a user