Skip to content

Conversation

albertvillanova
Copy link
Member

@albertvillanova albertvillanova commented Apr 30, 2025

Remove unnecessary dependencies from DockerExecutor image.

This PR updates the DockerExecutor's embedded Dockerfile to only install the packages required for the Jupyter Kernel Gateway.

Unused dependencies like numpy, pandas, and the notebook UI have been removed to reduce image size and build time:

  • Smaller Docker image footprint
  • Faster build times

Tests: I have locally tested TestDockerExecutor with RUN_ALL=1.

@albertvillanova albertvillanova merged commit 095d866 into huggingface:main May 5, 2025
3 checks passed
@albertvillanova albertvillanova deleted the fix-docker-image-deps branch May 5, 2025 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants