dragg2 commited on
Commit
0091ca7
·
verified ·
1 Parent(s): 1e283de

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -9,8 +9,9 @@ RUN git clone https://github.com/ZyphrZero/z.ai2api_python.git .
9
 
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
- RUN mkdir logs && chmod 777 logs
13
 
14
- EXPOSE 8080
 
15
 
16
  CMD ["python", "main.py"]
 
9
 
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
+ RUN mkdir -p logs && chmod -R 777 /app
13
 
14
+ ENV LISTEN_PORT=7860
15
+ EXPOSE $LISTEN_PORT
16
 
17
  CMD ["python", "main.py"]