修正为python3.12镜像
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.11-slim
|
FROM python:3.12-slim
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
FROM continuumio/miniconda3:latest AS pythonocc
|
FROM continuumio/miniconda3:latest AS pythonocc
|
||||||
|
|
||||||
RUN conda update -n base -c defaults conda -y && \
|
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
|
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 .
|
COPY deploy/requirements-moldinsight.txt .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user