修正为python3.12镜像

This commit is contained in:
2026-06-01 10:11:25 +08:00
parent 77bdf56adf
commit a91b6ab21f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.11-slim
FROM python:3.12-slim
WORKDIR /app
+2 -2
View File
@@ -1,11 +1,11 @@
FROM continuumio/miniconda3:latest AS pythonocc
RUN conda update -n base -c defaults conda -y && \
conda create -n moldinsight python=3.11 pythonocc-core=7.9.0 -c conda-forge -y
conda create -n moldinsight python=3.12 pythonocc-core=7.9.0 -c conda-forge -y
FROM gemold-base:latest
COPY --from=pythonocc /opt/conda/envs/moldinsight/lib/python3.11/site-packages/ /usr/local/lib/python3.11/site-packages/
COPY --from=pythonocc /opt/conda/envs/moldinsight/lib/python3.12/site-packages/ /usr/local/lib/python3.12/site-packages/
COPY deploy/requirements-moldinsight.txt .