Skip to content

Commit 9e4196d

Browse files
committed
copy deps
1 parent d1ba691 commit 9e4196d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
4545
# Structure: /tmp/matlabengine/local/lib/python3.12/dist-packages/
4646
COPY --from=matlab-builder /tmp/matlabengine/local/lib/python3.12/dist-packages/ /usr/local/lib/python3.11/site-packages/
4747

48+
# Copy MATLAB runtime libraries (compiled .so files)
49+
COPY --from=matlab-builder /opt/matlab/R2024b/extern/bin/glnxa64/*.so /usr/local/lib/
50+
4851
# Extract the .egg file so Python can import the matlab module
4952
RUN cd /usr/local/lib/python3.11/site-packages && \
5053
if [ -d matlabengine-24.2-py3.12.egg ]; then \

0 commit comments

Comments
 (0)