diff --git a/Dockerfile b/Dockerfile index 4c16b72..5cdf055 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11.4-slim-bullseye +FROM python:3.11.4-alpine RUN apk add --no-cache \ curl \ @@ -11,8 +11,7 @@ RUN apk add --no-cache \ # For psycopg \ postgresql-dev \ # For mysql deps \ - default-libmysqlclient-dev \ - pkg-config \ + mariadb-dev \ # For UI \ ncurses \ bash @@ -26,7 +25,7 @@ WORKDIR /src ENV PATH ${PATH}:/home/fastapi_template/.local/bin -RUN pip install poetry==1.4.2 +RUN pip install poetry==1.5.1 COPY . /src/ RUN pip install . diff --git a/pyproject.toml b/pyproject.toml index f99fb5a..9107efe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fastapi_template" -version = "5.0.0" +version = "5.0.1" description = "Feature-rich robust FastAPI template" authors = ["Pavel Kirilin "] packages = [{ include = "fastapi_template" }]