File tree Expand file tree Collapse file tree 4 files changed +24
-42
lines changed
Expand file tree Collapse file tree 4 files changed +24
-42
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ RUN apt-get update && \
1717 libpq-dev
1818
1919
20- # Install application-level dependencies
21- COPY requirements.txt /src/
22- RUN pip install uv
23- RUN uv pip sync requirements.txt --system
24-
2520# Copy project files over to image
2621COPY . /src/
2722
23+ RUN pip install uv
24+ RUN uv pip install -r pyproject.toml --system
25+
26+
27+
2828# Expose 8000 port in container for Django use
2929EXPOSE 8000
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ services:
1111 - web
1212 db :
1313 container_name : hh_psql
14- image : postgres:12 -alpine
14+ image : postgres:13 -alpine
1515 environment :
1616 - POSTGRES_DB=hh
1717 - POSTGRES_USER=postgres
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " homebrewhub"
3+ version = " 1.0.0"
4+ description = " Digital repository of homebrew games"
5+ readme = " README.md"
6+ requires-python = " >=3.12"
7+ dependencies = [
8+ " django>=5.1.2,<5.2" ,
9+ " djangorestframework>=3.15.2" ,
10+ " drf-spectacular>=0.27.2" ,
11+ " psycopg2>=2.9" ,
12+ " dj-database-url>=2.3" ,
13+ " django-cors-headers>=4.6" ,
14+ " django-extensions>=3.2.3" ,
15+ # Sync-db dependencies
16+ " python-dateutil==2.9.0.post0" ,
17+ ]
18+
119[tool .ruff ]
220# Exclude a variety of commonly ignored directories.
321exclude = [
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments