Zayn777 commited on
Commit
d7e13ab
·
verified ·
1 Parent(s): 52e34db

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
2
+
3
+ RUN apt-get update && apt-get install -y git
4
+
5
+ RUN git clone https://github.com/zhiyu1998/Gemi2Api-Server.git /app
6
+
7
+ RUN mkdir /.cache && chmod -R 777 /.cache
8
+
9
+ WORKDIR /app
10
+
11
+ RUN uv sync
12
+
13
+ CMD ["uv", "run", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]