File tree 2 files changed +5
-7
lines changed
{{cookiecutter.project_slug}}/backend
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ dependencies = [
30
30
" raven>=6.10.0" ,
31
31
" jinja2>=3.1.2" ,
32
32
" python-jose[cryptography]>=3.3.0" ,
33
- " pydantic>=2.0" ,
33
+ " pydantic>=2.0,<2.7 " ,
34
34
" pydantic-settings>=2.0.3" ,
35
35
" httpx>=0.23.1" ,
36
36
" psycopg2-binary>=2.9.5" ,
Original file line number Diff line number Diff line change @@ -13,12 +13,10 @@ ENV \
13
13
PIPX_VERSION=$PIPX_VERSION \
14
14
PYTHONPATH=/app
15
15
COPY ./app/ /app/
16
- RUN <<HEREDOC
17
- python -m pip install --no-cache-dir --upgrade pip "pipx==$PIPX_VERSION"
18
- pipx install "hatch==$HATCH_VERSION"
19
- hatch env prune && hatch env create production
20
- chmod +x /app/worker-start.sh
21
- HEREDOC
16
+ RUN python -m pip install --no-cache-dir --upgrade pip "pipx==$PIPX_VERSION"
17
+ RUN pipx install "hatch==$HATCH_VERSION"
18
+ RUN hatch env prune && hatch env create production
19
+ RUN chmod +x /app/worker-start.sh
22
20
23
21
# For development, Jupyter remote kernel, Hydrogen
24
22
# Using inside the container:
You can’t perform that action at this time.
0 commit comments