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