fix prod : Eau2018.xls dans l'image Docker + build context racine
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
- backend.Dockerfile : COPY Eau2018.xls /app/ (contexte = racine projet) - docker-compose.yml : section build: pour backend et frontend (context: ..) - seed.py : XLS_PATH cherche d'abord /app/Eau2018.xls, fallback ../ Sans ça python seed.py échoue dans le conteneur (fichier absent) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,10 @@ name: ${COMPOSE_PROJECT_NAME:-syoul-sejeteralo-main}
|
||||
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/backend.Dockerfile
|
||||
target: production
|
||||
image: sejeteralo-backend:latest
|
||||
container_name: ${COMPOSE_PROJECT_NAME:-syoul-sejeteralo-main}-backend
|
||||
restart: always
|
||||
@@ -20,6 +24,10 @@ services:
|
||||
- sonic
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/frontend.Dockerfile
|
||||
target: production
|
||||
image: sejeteralo-frontend:latest
|
||||
container_name: ${COMPOSE_PROJECT_NAME:-syoul-sejeteralo-main}-frontend
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user