Skip to content

Commit 2face2e

Browse files
authored
Merge pull request #1183 from PokeAPI/deps2
try: update python and dep
2 parents c49b5bb + 5757301 commit 2face2e

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.10.16-alpine3.21 AS builder
1+
FROM python:3.11.11-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.10.16-alpine3.21
14+
FROM python:3.11.11-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.10/site-packages /usr/local/lib/python3.10/site-packages
22+
COPY --from=builder /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
2323
COPY --from=builder /usr/local/bin /usr/local/bin
2424

2525
ADD . /code/

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ mimeparse==0.1.3
1111
psycopg2-binary==2.9.10
1212
python-dateutil==2.8.2
1313
python-mimeparse==1.6.0
14-
drf-spectacular==0.27.2
14+
drf-spectacular==0.28.0

0 commit comments

Comments
 (0)