f-claude / Dockerfile
javaeeduke's picture
Update Dockerfile
1464413 verified
Raw
History Blame Contribute Delete
394 Bytes
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}"]