Set Docker to use 3.11 for now (#3927)
Until we get new aiohttp wheels we need to build with 3.11. You can see an example of a fail here: Workaround for #3919 - Will leave it open until we can move to 3.21
This commit is contained in:
parent
3457ec48af
commit
738c2789cc
@ -1,4 +1,4 @@
|
|||||||
FROM python:3-slim AS builder
|
FROM python:3.11-slim AS builder
|
||||||
|
|
||||||
RUN mkdir /src
|
RUN mkdir /src
|
||||||
COPY . /src/
|
COPY . /src/
|
||||||
@ -10,7 +10,7 @@ RUN . /opt/venv/bin/activate && pip install --no-cache-dir --upgrade pip setupto
|
|||||||
&& cd /src \
|
&& cd /src \
|
||||||
&& pip install --no-cache-dir .[colorama,d]
|
&& pip install --no-cache-dir .[colorama,d]
|
||||||
|
|
||||||
FROM python:3-slim
|
FROM python:3.11-slim
|
||||||
|
|
||||||
# copy only Python packages to limit the image size
|
# copy only Python packages to limit the image size
|
||||||
COPY --from=builder /opt/venv /opt/venv
|
COPY --from=builder /opt/venv /opt/venv
|
||||||
|
Loading…
Reference in New Issue
Block a user