Skip to content

Commit 0b1415e

Browse files
committed
Fixed piccolo.
1 parent 9477d33 commit 0b1415e

File tree

1 file changed

+3
-0
lines changed
  • fastapi_template/template/{{cookiecutter.project_name}}

1 file changed

+3
-0
lines changed

fastapi_template/template/{{cookiecutter.project_name}}/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ ENV UV_LINK_MODE=copy
2626
ENV UV_PROJECT_ENVIRONMENT=/usr/local
2727
ENV UV_PYTHON_DOWNLOADS=never
2828
ENV UV_NO_MANAGED_PYTHON=1
29+
{%- if cookiecutter.orm == 'piccolo' %}
30+
ENV PICCOLO_CONF="{{cookiecutter.project_name}}.piccolo_conf"
31+
{%- endif %}
2932

3033
WORKDIR /app/src
3134

0 commit comments

Comments
 (0)