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:
@@ -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/
|
||||
@@ -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/
|
||||
Reference in New Issue
Block a user