fix(Dockerfile): update base image to python:3.9-slim for better compatibility

This commit is contained in:
liam.li 2025-04-08 09:36:11 +08:00
parent 7138bb12c9
commit 6c7ecdc9d9
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Install the base requirements for the app. # Install the base requirements for the app.
# This stage is to support development. # This stage is to support development.
FROM --platform=$BUILDPLATFORM python:alpine AS base FROM --platform=$BUILDPLATFORM python:3.9-slim AS base
WORKDIR /app WORKDIR /app
COPY requirements.txt . COPY requirements.txt .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt