File tree 4 files changed +24
-42
lines changed
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 && \
17
17
libpq-dev
18
18
19
19
20
- # Install application-level dependencies
21
- COPY requirements.txt /src/
22
- RUN pip install uv
23
- RUN uv pip sync requirements.txt --system
24
-
25
20
# Copy project files over to image
26
21
COPY . /src/
27
22
23
+ RUN pip install uv
24
+ RUN uv pip install -r pyproject.toml --system
25
+
26
+
27
+
28
28
# Expose 8000 port in container for Django use
29
29
EXPOSE 8000
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ services:
11
11
- web
12
12
db :
13
13
container_name : hh_psql
14
- image : postgres:12 -alpine
14
+ image : postgres:13 -alpine
15
15
environment :
16
16
- POSTGRES_DB=hh
17
17
- 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
+
1
19
[tool .ruff ]
2
20
# Exclude a variety of commonly ignored directories.
3
21
exclude = [
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments