Skip to content

Commit 9c3be75

Browse files
committed
chore: bump Python version in Docker
1 parent a290b26 commit 9c3be75

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Resources/docker/app/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12.8-alpine3.21 AS builder
1+
FROM python:3.13.7-alpine AS builder
22

33
ENV PYTHONUNBUFFERED=1
44

@@ -11,15 +11,15 @@ RUN apk add --no-cache --virtual .build-deps gcc g++ musl-dev \
1111
postgresql-dev binutils rust cargo && \
1212
python3 -m pip install -r requirements.txt --no-cache-dir
1313

14-
FROM python:3.12.8-alpine3.21
14+
FROM python:3.13.7-alpine
1515

1616
ENV PYTHONUNBUFFERED=1
1717
ENV DJANGO_SETTINGS_MODULE='config.docker-compose'
1818

1919
RUN mkdir /code
2020
WORKDIR /code
2121

22-
COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages
22+
COPY --from=builder /usr/local/lib/python3.13/site-packages /usr/local/lib/python3.13/site-packages
2323
COPY --from=builder /usr/local/bin /usr/local/bin
2424

2525
ADD . /code/

Resources/docker/app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- [`master`](https://github.com/PokeAPI/pokeapi/blob/master/Resources/docker/app/Dockerfile)
1818
- [`staging`](https://github.com/PokeAPI/pokeapi/blob/staging/Resources/docker/app/Dockerfile)
1919

20-
> `pokeapi` uses `python:3.12.8-alpine3.21` as base image.
20+
> `pokeapi` uses `python:3.13.7-alpine` as base image.
2121
2222
## What is PokeAPI?
2323

0 commit comments

Comments
 (0)