Skip to content

Commit 643f49a

Browse files
committed
refactor: downgrade py
1 parent d2872cb commit 643f49a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ A RESTful API for Pokémon - [pokeapi.co](https://pokeapi.co)
3333
- [Join Us On Slack!](#join-us-on-slack)
3434
- [Contributing](#contributing)
3535

36-
## Setup <a id="setup"></a> &nbsp; [![pyVersion310](https://img.shields.io/badge/python-3.13-blue.svg)](https://www.python.org/download/releases/3.10/)
36+
## Setup <a id="setup"></a> &nbsp; [![pyVersion310](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/download/releases/3.10/)
3737

3838
- Download this source code into a working directory, be sure to use the flag `--recurse-submodules` to clone also our submodules.
3939

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.13.1-alpine3.21 AS builder
1+
FROM python:3.12.8-alpine3.21 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.13.1-alpine3.21
14+
FROM python:3.12.8-alpine3.21
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.13/site-packages /usr/local/lib/python3.13/site-packages
22+
COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/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.13.1-alpine3.21` as base image.
20+
> `pokeapi` uses `python:3.12.8-alpine3.21` as base image.
2121
2222
## What is PokeAPI?
2323

0 commit comments

Comments
 (0)