From 20dbdc3aed0494dd6eefc250accb427d7199aac6 Mon Sep 17 00:00:00 2001 From: long2ice Date: Mon, 28 Jun 2021 14:56:44 +0800 Subject: [PATCH] update Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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