Copy only required packages for python port.
@@ -85,7 +85,8 @@ COPY --from=builder /usr/local/lib/*.so /usr/local/lib/*.so* /usr/local/lib/*.dl
COPY --from=builder /usr/local/lib/node_modules/ /usr/local/lib/node_modules/
# Copy python dependencies and port from builder
-COPY --from=builder /usr/local/lib/python3.5/dist-packages/ /usr/local/lib/python3.5/dist-packages/
+COPY --from=builder /usr/local/lib/python3.5/dist-packages/metacall/__init__.py /usr/local/lib/python3.5/dist-packages/metacall/
+COPY --from=builder /usr/local/lib/python3.5/dist-packages/metacall/__pycache__/__init__.cpython-35.pyc /usr/local/lib/python3.5/dist-packages/metacall/__pycache__/
# Copy headers from builder
COPY --from=builder /usr/local/include/metacall /usr/local/include/metacall
