Skip to content

Fix Dockerfile: use PATH instead of ENTRYPOINT for venv#384

Merged
theGreatHerrLebert merged 1 commit intomainfrom
fix/dockerfile-entrypoint
Feb 6, 2026
Merged

Fix Dockerfile: use PATH instead of ENTRYPOINT for venv#384
theGreatHerrLebert merged 1 commit intomainfrom
fix/dockerfile-entrypoint

Conversation

@theGreatHerrLebert
Copy link
Owner

Summary

  • Replace fixed ENTRYPOINT ["/opt/venv/bin/python"] with ENV PATH="/opt/venv/bin:${PATH}"
  • Users can now run any command directly: docker run rustims timsim --help
  • Default CMD remains python --version

Test plan

  • docker run --rm rustims timsim --help → shows timsim usage
  • docker run --rm rustims python -c "import torch" → works
  • docker run --rm rustims → prints Python version

🤖 Generated with Claude Code

Replace fixed python ENTRYPOINT with adding the venv to PATH so users
can run any command directly (e.g. docker run rustims timsim --help).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@theGreatHerrLebert theGreatHerrLebert merged commit 5aa5034 into main Feb 6, 2026
2 checks passed
@theGreatHerrLebert theGreatHerrLebert deleted the fix/dockerfile-entrypoint branch February 6, 2026 17:26
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.

1 participant