Iris314 commited on
Commit
9de5cb4
·
verified ·
1 Parent(s): fda29b5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -29,6 +29,10 @@ RUN conda install -c conda-forge \
29
  -y && \
30
  conda clean --all -y
31
 
 
 
 
 
32
  COPY . /app/
33
 
34
  EXPOSE 7860
 
29
  -y && \
30
  conda clean --all -y
31
 
32
+ # 验证安装
33
+ RUN python -c "import sys; print('Python:', sys.version)" && \
34
+ python -c "from OCP.STEPControl import STEPControl_Reader; print('OCP installed successfully')" || echo "OCP installation may have issues"
35
+
36
  COPY . /app/
37
 
38
  EXPOSE 7860