Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Downgrade python docker images to 3.11
Browse files Browse the repository at this point in the history
This is due to an issue in multidict, which
is introduced by shared/aiohttp, which does not
support 3.12 as of now.
aio-libs/multidict#887
  • Loading branch information
twaslowski committed Jan 24, 2024
1 parent 4cca352 commit 239f893
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions backend/docker/Dockerfile-generative.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM public.ecr.aws/lambda/python:3.12
FROM public.ecr.aws/lambda/python:3.11

# Install Python and zip
RUN dnf install -y git
RUN yum install -y git

# Set up a working directory
WORKDIR /var/task
Expand Down
4 changes: 2 additions & 2 deletions backend/docker/Dockerfile-nlp.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM public.ecr.aws/lambda/python:3.12
FROM public.ecr.aws/lambda/python:3.11

# Install Python and zip
RUN dnf install -y git
RUN yum install -y git

# Set up a working directory
WORKDIR /var/task
Expand Down

0 comments on commit 239f893

Please sign in to comment.