fix: update Python installation command to specify version 3.12 during installation

- Modified the Dockerfile to require Python version 3.12 explicitly during the installation process.
- This change ensures that the installation script adheres to the specified version, improving consistency and reliability in Docker environments.
This commit is contained in:
Marvin Zhang
2024-12-30 15:26:04 +08:00
parent 3438919068
commit fec616080e

View File

@@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND=noninteractive
# Install dependencies
COPY ./install /app/install
RUN bash /app/install/deps/deps.sh && \
bash /app/install/python/python.sh
bash /app/install/python/python.sh install 3.12
# Working directory
WORKDIR /app/backend