From 2e4fed14228c4b07bb2b398ace57bbac9fc64b13 Mon Sep 17 00:00:00 2001
From: Pavel Kirilin <win10@list.ru>
Date: Wed, 8 Sep 2021 14:32:29 +0400
Subject: [PATCH] Fixed Dockerfile.

Signed-off-by: Pavel Kirilin <win10@list.ru>
---
 .../{{cookiecutter.project_name}}/deploy/Dockerfile         | 6 ------
 pyproject.toml                                              | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/fastapi_template/template/{{cookiecutter.project_name}}/deploy/Dockerfile b/fastapi_template/template/{{cookiecutter.project_name}}/deploy/Dockerfile
index 07662ea..7c1e824 100644
--- a/fastapi_template/template/{{cookiecutter.project_name}}/deploy/Dockerfile
+++ b/fastapi_template/template/{{cookiecutter.project_name}}/deploy/Dockerfile
@@ -4,8 +4,6 @@ RUN apt-get update && apt-get install -y \
     wait-for-it \
     && apt-get clean && rm -rf /var/lib/apt/lists/*
 
-# ENV PATH="${PATH}:/home/{{cookiecutter.project_name}}/.poetry/bin:/home/{{cookiecutter.project_name}}/.local/bin"
-
 RUN pip install poetry==1.1.8
 
 # Installing requirements
@@ -20,8 +18,4 @@ RUN poetry install --no-dev
 COPY . /app/src/
 RUN pip install --use-feature=in-tree-build  .
 
-{%- if cookiecutter.db_info.name == "sqlite" %}
-VOLUME [ "/db_data" ]
-{%- endif %}
-
 CMD python -m {{cookiecutter.project_name}}
diff --git a/pyproject.toml b/pyproject.toml
index d0ae714..95563b9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "fastapi_template"
-version = "2.2.3"
+version = "2.2.4"
 description = "Feature-rich robust FastAPI template"
 authors = ["Pavel Kirilin <win10@list.ru>"]
 packages = [
-- 
GitLab