commitcopilot/Commit-Copilot-Cloud-Endpoint
0
1FROM python:3.11-slim2 3ENV PYTHONDONTWRITEBYTECODE=1 \4 PYTHONUNBUFFERED=1 \5 PORT=78606 7WORKDIR /app8 9COPY requirements.txt .10RUN pip install --no-cache-dir --upgrade pip && \11 pip install --no-cache-dir -r requirements.txt12 13COPY config.json app.py ./14 15EXPOSE 786016 17CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860}"]18 