chore: add dockerignore for hub services

Exclude secrets (.env*, *.pem/key/token), VCS metadata, and language
build caches (Python pyc/.venv, Node node_modules/dist) from the
docker build context for hub-api and hub-web.
This commit is contained in:
Hyungi Ahn
2026-05-08 04:27:25 +00:00
parent e55f7aeed6
commit 7310c3144b
2 changed files with 47 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# secrets
.env
.env.*
!.env.example
*.pem
*.key
*.token
id_rsa*
credentials.env*
# version control / dev
.git/
.gitignore
.dockerignore
README.md
# python
__pycache__/
*.pyc
*.pyo
.pytest_cache/
.venv/
venv/
+24
View File
@@ -0,0 +1,24 @@
# secrets
.env
.env.*
!.env.example
*.pem
*.key
*.token
# version control / dev
.git/
.gitignore
.dockerignore
README.md
# node — build cache (multi-stage final image 에 미포함이지만 build context 전송 절약)
node_modules/
dist/
.next/
.cache/
npm-debug.log*
# editor
.vscode/
.idea/