FROM python:3.12-slim WORKDIR /app # Install dependencies COPY backend/requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy backend code COPY backend/ . # Copy webapp as static files COPY webapp/index.html webapp/d3.v7.min.js /static/ EXPOSE 8000 CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]