fix docker compose repeating copy during docker build

This commit is contained in:
Alberto-Audrix committed 2026-11-17 13:25:14 +07:00
1 parent d6d4d2c70e
commit 388108fff3
3 files changed
+46 -6

No files matched your search

+32 -5
View File
@@ -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
+13
View File
@@ -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
View File
@@ -141,7 +141,7 @@ services:
start_period: 60s
cron:
image: dashboard-cpsp-cron
image: dashboard-cpsp-api
build:
context: .
dockerfile: docker/Dockerfile.api