Team Ai
Apppublic

commitcopilot/Commit-Copilot-Cloud-Endpoint

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
Dockerfile18 linesDownload Raw Back to root
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