FROM python:3.10-slim WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY telegram_bot.py telegram_transport.py memory_cloud.py app.py ./ COPY jarvis_core ./jarvis_core # HF Docker Spaces must listen on 7860 (the bot serves / /diag /webhook there) EXPOSE 7860 CMD ["python", "app.py"]