Steveeeeeeen HF staff commited on
Commit
bbee0d0
·
verified ·
1 Parent(s): 1d19201

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -10,15 +10,17 @@ RUN apt update && \
10
  # Set working directory
11
  WORKDIR /app
12
 
 
 
 
13
  # Copy application files
14
  COPY . .
15
 
16
- # Install Python dependencies (modified for non-editable install)
17
- COPY requirements.txt .
18
- RUN uv pip install --system -r requirements.txt
19
 
20
  # Expose the Gradio default port
21
  EXPOSE 7860
22
 
23
  # Run the Gradio app
24
- CMD ["uv", "run", "app.py"]
 
10
  # Set working directory
11
  WORKDIR /app
12
 
13
+ # Clone the repository
14
+ RUN git clone https://github.com/Zyphra/Zonos.git && cd Zonos
15
+
16
  # Copy application files
17
  COPY . .
18
 
19
+ # Install Python dependencies
20
+ RUN uv pip install --system -e . && uv pip install --system -e .[compile]
 
21
 
22
  # Expose the Gradio default port
23
  EXPOSE 7860
24
 
25
  # Run the Gradio app
26
+ CMD ["python", "app.py"]