diff --git a/fastapi_template/template/{{cookiecutter.project_name}}/deploy/Dockerfile b/fastapi_template/template/{{cookiecutter.project_name}}/deploy/Dockerfile index 07662ead3de009d9ead5095b1e0038e635c8bb23..7c1e82456b975d3c0347c92e3ec71dea27239430 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 d0ae714486a5f4568bb15d1745a09ec142c648b4..95563b992966a69ca8c464a4fcd86bb68fde89bd 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 = [