FROM python:3.11-slim WORKDIR /app # Install system deps (none needed for this project, just pip) RUN pip install --no-cache-dir \ aiohttp>=3.9.0 \ python-dotenv>=1.0.0 \ miservice_fork>=2.9.0 COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY app/ app/ COPY config.py run.py ./ # Don't COPY .env or .mi.token — they're mounted at runtime CMD ["python", "run.py"]