mirror of
https://github.com/open-webui/open-terminal.git
synced 2026-11-22 21:50:43 -05:00
fix: add .dockerignore to prevent console script corruption (fixes #23)
Build artifacts (__pycache__, *.egg-info, dist/, etc.) were leaking into the Docker build context via COPY, corrupting the pip-generated console script's shebang line and causing bash to interpret it as a shell script. - Add .dockerignore to exclude build artifacts and dev files - Add __main__.py for python -m open_terminal support
This commit is contained in:
1 parent
79ba67cf00
commit
d961247987
2 files changed
+14
No files matched your search
@@ -0,0 +1,11 @@
|
||||
__pycache__
|
||||
*.egg-info
|
||||
dist
|
||||
build
|
||||
.git
|
||||
.gitignore
|
||||
.github
|
||||
*.pyc
|
||||
.env
|
||||
.venv
|
||||
venv
|
||||
@@ -0,0 +1,3 @@
|
||||
from open_terminal.cli import main
|
||||
|
||||
main()
|
||||
Reference in new issue
Block a user