THED1 commited on
Commit
bc599f9
·
verified ·
1 Parent(s): 0eaa87b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -11
Dockerfile CHANGED
@@ -1,22 +1,18 @@
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"]
 
1
  FROM python:3.10-slim
2
 
3
+ WORKDIR /app
4
+
5
  RUN apt-get update && apt-get install -y \
6
+ git \
7
+ build-essential \
8
  && rm -rf /var/lib/apt/lists/*
9
 
 
 
 
 
 
 
 
10
  COPY requirements.txt .
11
+
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
 
14
  COPY app.py .
15
 
16
+ EXPOSE 7860
17
+
18
  CMD ["python", "app.py"]