gemini2api / Dockerfile
ykl45's picture
Update Dockerfile
3930398 verified
raw
history blame contribute delete
349 Bytes
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/zhiyu1998/Gemi2Api-Server.git /app
RUN mkdir /.cache && chmod -R 777 /.cache
WORKDIR /app
RUN uv sync
# Command to run the application
CMD ["uv", "run", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]