# ── BetterBot Dockerfile ── # Fork of CodeAnywhere — Telegram-only, no web UI build stage needed. FROM python:3.12-slim RUN apt-get update \ && apt-get install -y --no-install-recommends git openssh-client \ && rm -rf /var/lib/apt/lists/* WORKDIR /app # Site project mount points RUN mkdir -p /site /memoraiz /data COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . RUN python -m compileall . RUN chmod +x /app/docker-entrypoint.sh EXPOSE 3000 ENTRYPOINT ["/app/docker-entrypoint.sh"] CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "3000", "--log-level", "info"]