THED1 commited on
Commit
2ae51a0
·
verified ·
1 Parent(s): 12a26ca

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +22 -0
Dockerfile ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ # System tools install karein
4
+ RUN apt-get update && apt-get install -y \
5
+ curl git wget build-essential ca-certificates \
6
+ && rm -rf /var/lib/apt/lists/*
7
+
8
+ # OpenClaw install script run karein (build time pe)
9
+ RUN curl -fsSL https://openclaw.ai/install.sh | bash
10
+
11
+ # Agar install ke baad environment variable setup karna ho (example):
12
+ # ENV PATH="/root/.openclaw/bin:$PATH"
13
+
14
+ # Python dependencies
15
+ COPY requirements.txt .
16
+ RUN pip install --no-cache-dir -r requirements.txt
17
+
18
+ # App file copy karein
19
+ COPY app.py .
20
+
21
+ # Hugging Face default port 7860 pe Gradio server start karein
22
+ CMD ["python", "app.py"]