We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ecb09 commit 803fba4Copy full SHA for 803fba4
Dockerfile.slim
@@ -69,7 +69,8 @@ RUN apt update && apt upgrade -y && \
69
70
COPY --from=build /opt/monai /opt/monai
71
COPY --from=build /opt/tools /opt/tools
72
-COPY --from=build /usr/local/lib/python3.11/dist-packages /usr/local/lib/python3.11/dist-packages
+ARG PYTHON_VERSION=3.11
73
+COPY --from=build /usr/local/lib/python${PYTHON_VERSION}/dist-packages /usr/local/lib/python${PYTHON_VERSION}/dist-packages
74
COPY --from=build /usr/local/bin /usr/local/bin
75
76
RUN rm -rf /opt/monai/build /opt/monai/monai.egg-info && \
0 commit comments