Skip to content

Commit

Permalink
Upgrade base python image
Browse files Browse the repository at this point in the history
To fix uWSGI and consul template errors, we need a newer version of consul template. So upgrade the
base python image which comes with the newer version of consul template. Also, need to upgrade
python to 3.11 and uWSGI to a compatible version as a result.
  • Loading branch information
amCap1712 committed Nov 27, 2023
1 parent f8f70b2 commit 71d724c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM metabrainz/python:3.10-20220315 as critiquebrainz-base
FROM metabrainz/python:3.11-20231006 as critiquebrainz-base

ENV PYTHONUNBUFFERED 1

Expand Down Expand Up @@ -39,7 +39,7 @@ RUN mkdir -p /etc/apt/keyrings \

RUN pip install --upgrade pip==21.0.1

RUN pip install --no-cache-dir uWSGI==2.0.20
RUN pip install --no-cache-dir uWSGI==2.0.23

RUN mkdir /code
WORKDIR /code
Expand Down

0 comments on commit 71d724c

Please sign in to comment.