FROM python:3.11-slim | |
RUN apt-get update && apt-get install -y git | |
RUN git clone https://github.com/zhiyu1998/Gemi2Api-Server.git /app | |
WORKDIR /app | |
# Install dependencies | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Command to run the application | |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |