aboutsummaryrefslogtreecommitdiffstats
path: root/.dockerignore
diff options
context:
space:
mode:
authorAstounds <kirito@disroot.org>2026-05-29 21:28:22 -0500
committerAstounds <kirito@disroot.org>2026-05-29 21:28:22 -0500
commitf7f266b994a1b7d0e3b54e49e640be35b8078bf0 (patch)
treee36c487dff881801724b2829f685bf02b3b8cc77 /.dockerignore
parent10a101b226e8bcb4797c04c5619386396ed6efa0 (diff)
downloadyt-local-f7f266b994a1b7d0e3b54e49e640be35b8078bf0.tar.lz
yt-local-f7f266b994a1b7d0e3b54e49e640be35b8078bf0.tar.xz
yt-local-f7f266b994a1b7d0e3b54e49e640be35b8078bf0.zip
Add hardened Docker support and multi-arch CI
Multi-stage Dockerfile (non-root, Tor-ready), compose file, and entrypoints. Forgejo CI builds linux/amd64+arm64, scans with checksum-verified Grype, and pins all actions to commit SHA. Makefile gains venv bootstrap and docker targets; server.py gains a --bind flag.
Diffstat (limited to '.dockerignore')
-rw-r--r--.dockerignore54
1 files changed, 54 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..52e3395
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,54 @@
+# Git
+.git/
+.gitignore
+.gitattributes
+.gitea/
+
+# Python artifacts
+__pycache__/
+*.py[cod]
+*.so
+venv/
+.venv/
+*.egg-info/
+
+# Release / build artifacts
+yt-local/
+python/
+get-pip.py
+*.7z
+*.zip
+build/
+dist/
+
+# IDE / editors
+.vscode/
+.idea/
+*.swp
+*.swo
+*~
+
+# Testing / coverage
+.pytest_cache/
+.coverage
+htmlcov/
+tests/
+
+# Data / user config
+data/
+debug/
+settings.txt
+
+# Docs
+docs/
+*.md
+LICENSE
+
+# AI tools
+.kiro/
+.claude/
+.cursor/
+
+# Docker itself
+Dockerfile
+docker-compose*.yml