Liat2025 commited on
Commit
e0600da
·
verified ·
1 Parent(s): 9105543

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +24 -0
Dockerfile ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Dockerfile for WaterWiseHomecopy (Gradio app)
2
+ FROM python:3.10-slim
3
+
4
+ # System packages (note: libgl1 — NOT libgl1-mesa-glx)
5
+ RUN apt-get update && apt-get install -y \
6
+ git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1 \
7
+ && rm -rf /var/lib/apt/lists/* \
8
+ && git lfs install
9
+
10
+ WORKDIR /app
11
+
12
+ # Python deps
13
+ COPY requirements.txt /app/
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
+
16
+ # App code
17
+ COPY . /app
18
+
19
+ # Gradio runtime
20
+ ENV GRADIO_SERVER_NAME=0.0.0.0
21
+ ENV GRADIO_SERVER_PORT=7860
22
+
23
+ EXPOSE 7860
24
+ CMD ["python", "app.py"]