From 1df9b5f90de82f9b4ab48698891398e5dd6c7165 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Thu, 20 Jul 2023 06:43:17 +0400 Subject: [PATCH 1/2] Fixed dockerfile for templator. Signed-off-by: Pavel Kirilin --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 . From e37008e3390662f804ed54095f0a7f4e9aa3cf19 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Thu, 20 Jul 2023 06:43:45 +0400 Subject: [PATCH 2/2] Version bumped to 5.0.1 Signed-off-by: Pavel Kirilin --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }]