caidaoli commited on
Commit
986bbb4
·
verified ·
1 Parent(s): c51ded3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -1
Dockerfile CHANGED
@@ -1 +1,14 @@
1
- FROM yxmiler/grok2api_python:latest
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN pip install --no-cache-dir flask requests curl_cffi werkzeug loguru
6
+
7
+ VOLUME ["/data"]
8
+
9
+ COPY . .
10
+
11
+ ENV PORT=3000
12
+ EXPOSE 3000
13
+
14
+ CMD ["python", "app.py"]