kamiwork commited on
Commit
5a83d46
·
verified ·
1 Parent(s): a2f11b6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -2
Dockerfile CHANGED
@@ -1,2 +1,17 @@
1
- FROM traffmonetizer/cli_v2:latest
2
- CMD start accept --token $TOKEN
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Base image
2
+ FROM python:3.12-slim
3
+
4
+ # Set working directory
5
+ WORKDIR /app
6
+
7
+ # Install dependencies
8
+ RUN pip install --no-cache-dir requests gradio
9
+
10
+ # Copy app
11
+ COPY app.py /app/app.py
12
+
13
+ # Expose port 7860
14
+ EXPOSE 7860
15
+
16
+ # Run the app
17
+ CMD ["python", "app.py"]