diff --git a/Dockerfile b/Dockerfile index bea3a75..495b5ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +RUN make compile