File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ WORKDIR /howtheyvote/backend
25
25
COPY pyproject.toml pyproject.toml
26
26
COPY poetry.toml poetry.toml
27
27
COPY poetry.lock poetry.lock
28
- RUN poetry env use python3.12
28
+ RUN poetry env use python3.13
29
29
RUN poetry install
30
30
31
31
COPY . .
@@ -37,7 +37,9 @@ ENV TZ=UTC
37
37
ENV ALEMBIC_CONFIG=./howtheyvote/alembic/alembic.ini
38
38
ENV PATH="/howtheyvote/backend/.venv/bin:$PATH"
39
39
40
- # Make Python system packages (such as Xapian) accessible
40
+ # Make Python system packages (such as Xapian) accessible. This has to be the same
41
+ # as the Python version that can be installed via the Alpine package manager. At
42
+ # the time of writing, this is 3.12 on Alpine 3.21.
41
43
ENV PYTHONPATH=/usr/lib/python3.12/site-packages
42
44
43
45
CMD gunicorn -b [::]:5000 --workers=5 --forwarded-allow-ips=* howtheyvote.wsgi:app
You can’t perform that action at this time.
0 commit comments