FROM python:3.14-slim WORKDIR /app RUN apt-get update && apt-get install -y --no-install-recommends git \ && rm -rf /var/lib/apt/lists/* RUN git clone https://github.com/Alishahryar1/free-claude-code.git . RUN python -m pip install --upgrade pip \ && pip install --no-cache-dir . ENV PORT=7860 EXPOSE 7860 CMD ["sh", "-c", "uvicorn server:app --host 0.0.0.0 --port ${PORT:-7860}"]