-
-
Notifications
You must be signed in to change notification settings - Fork 944
Open
Description
Problem
When running EvalAI using Docker, the Django container fails to start due to an EOFError raised from an interactive input() call in the seed command.
This happens because python manage.py seed is executed automatically during container startup in a non-interactive environment.
Steps to Reproduce
- Clone the EvalAI repository
- Run
docker compose up --build - Observe the Django container exit with:
Root Cause
The seed script prompts for user input when existing database data is detected. Docker containers are non-interactive, so input() raises EOFError.
Expected Behavior
The seed command should not require interactive input in Docker or CI environments.
Suggested Fix
Skip database reseeding safely in non-interactive environments instead of prompting for input or crashing.
Metadata
Metadata
Assignees
Labels
No labels