bluewinliang commited on
Commit
cac6512
·
verified ·
1 Parent(s): 6d55a11

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.13-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y --no-install-recommends \
6
+ git \
7
+ gcc \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
+ RUN git clone https://github.com/zhaoxiaozhao07/zai-api.git /app
11
+
12
+ RUN pip install --no-cache-dir -r requirements.txt
13
+
14
+ ENV LISTEN_PORT=7860
15
+
16
+ EXPOSE 7860
17
+
18
+ CMD ["python", "main.py"]