Skip to content

Commit 931c9ca

Browse files
committed
Pin Python versions
1 parent bd3b2b8 commit 931c9ca

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3-slim AS base
1+
FROM python:3.12-slim AS base
22

33
# This will be set by the GitHub action to the folder containing this component.
44
ARG FOLDER=/app
@@ -9,9 +9,6 @@ FROM base AS deps
99
COPY . /app
1010
WORKDIR ${FOLDER}
1111

12-
# Update pip
13-
RUN pip install --upgrade pip
14-
1512
USER 1000:1000
1613

1714
# Install dependencies

Dockerfile.dev

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
FROM python:3-slim
1+
FROM python:3.12-slim
22

33
# This will be set by the GitHub action to the folder containing this component.
44
ARG FOLDER=/app
55

66
COPY --chown=1000:1000 . /app
77
WORKDIR ${FOLDER}
88

9-
# Update pip
10-
RUN pip install --upgrade pip
11-
129
USER 1000:1000
1310

1411
# Setup venv

0 commit comments

Comments
 (0)