File size: 327 Bytes
454b790 2ca496e 454b790 b4a6213 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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"] |