fix docker compose repeating copy during docker build
This commit is contained in:
1 parent
d6d4d2c70e
commit
388108fff3
3 files changed
+46
-6
No files matched your search
+32
-5
@@ -1,25 +1,52 @@
|
||||
# Dependencies & caches
|
||||
node_modules
|
||||
**/node_modules
|
||||
npm-debug.log
|
||||
.vite
|
||||
.pytest_cache
|
||||
**/.pytest_cache
|
||||
**/__pycache__
|
||||
**/*.pyc
|
||||
**/*.pyo
|
||||
|
||||
# Environment & local files
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
*.local
|
||||
|
||||
# Build & test outputs
|
||||
dist
|
||||
dist-ssr
|
||||
coverage
|
||||
.vite
|
||||
*.local
|
||||
kpi-results.json
|
||||
|
||||
# Git, IDE & AI agent directories
|
||||
.git
|
||||
.gitignore
|
||||
.gitattributes
|
||||
.claude
|
||||
.opencode
|
||||
.superpowers
|
||||
.husky
|
||||
|
||||
# Non-runtime project directories (not used by api/cron/frontend images)
|
||||
ai-insight
|
||||
backup
|
||||
docs
|
||||
scripts
|
||||
*.md
|
||||
|
||||
# Docker compose files
|
||||
docker-compose*.yml
|
||||
DOCKER.md
|
||||
README.md
|
||||
|
||||
# Backend artifacts (api image copies backend/ explicitly)
|
||||
backend/.venv
|
||||
backend/venv
|
||||
backend/__pycache__
|
||||
backend/db.sqlite3
|
||||
backend/data
|
||||
backend/media
|
||||
backend/staticfiles
|
||||
backend/logs
|
||||
backend/database
|
||||
backend/*.egg-info
|
||||
@@ -0,0 +1,13 @@
|
||||
# Raw PDF/DOCX sources & intermediate text extracts (not needed at runtime)
|
||||
documents/
|
||||
extracted_txt/
|
||||
|
||||
# Python caches & local env
|
||||
__pycache__/
|
||||
**/__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
.pytest_cache/
|
||||
.env
|
||||
.env.*
|
||||
*.md
|
||||
+1
-1
@@ -141,7 +141,7 @@ services:
|
||||
start_period: 60s
|
||||
|
||||
cron:
|
||||
image: dashboard-cpsp-cron
|
||||
image: dashboard-cpsp-api
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile.api
|
||||
|
||||
Reference in new issue
Block a user