Skip to content

Commit 0fba6aa

Browse files
committed
python 3.13, alpine
1 parent 089586e commit 0fba6aa

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎.containerignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.venv

‎.github/workflows/pylint.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
python-version: [3.9]
18+
python-version: [3.13]
1919

2020
steps:
2121
- uses: actions/checkout@v2

‎Containerfile‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
FROM docker.io/python:3.9
1+
#FROM docker.io/python:3.13-alpine
2+
FROM ghcr.io/astral-sh/uv:python3.13-alpine
3+
4+
RUN apk add git
25

36
WORKDIR /app
47
COPY . ./
58
RUN git rev-parse --short HEAD > commit.txt
6-
RUN pip install -r requirements.txt
9+
RUN uv pip install -r requirements.txt --system
710

811
CMD ["gunicorn", "-b", "0.0.0.0", "audiophiler:app"]

‎requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ packaging==25.0
7979
# via gunicorn
8080
platformdirs==4.4.0
8181
# via pylint
82-
psycopg2==2.9.11
82+
psycopg2-binary==2.9.11
8383
# via -r requirements.in
8484
pycparser==2.23
8585
# via cffi

0 commit comments

Comments
 (0)