There was an error while loading. Please reload this page.
1 parent d1ba691 commit 9e4196dCopy full SHA for 9e4196d
1 file changed
Dockerfile
@@ -45,6 +45,9 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
45
# Structure: /tmp/matlabengine/local/lib/python3.12/dist-packages/
46
COPY --from=matlab-builder /tmp/matlabengine/local/lib/python3.12/dist-packages/ /usr/local/lib/python3.11/site-packages/
47
48
+# Copy MATLAB runtime libraries (compiled .so files)
49
+COPY --from=matlab-builder /opt/matlab/R2024b/extern/bin/glnxa64/*.so /usr/local/lib/
50
+
51
# Extract the .egg file so Python can import the matlab module
52
RUN cd /usr/local/lib/python3.11/site-packages && \
53
if [ -d matlabengine-24.2-py3.12.egg ]; then \
0 commit comments