yukee1992 commited on
Commit
a6a1197
·
verified ·
1 Parent(s): 923c31c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -7,6 +7,8 @@ RUN apt-get update && apt-get install -y \
7
  curl \
8
  ffmpeg \
9
  libsndfile1 \
 
 
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
  # Create necessary directories with proper permissions
@@ -16,8 +18,9 @@ RUN mkdir -p /tmp/tts_models /tmp/huggingface /tmp/torch /tmp/voices /tmp/output
16
  # Copy requirements first for better caching
17
  COPY requirements.txt .
18
 
19
- # Install Python dependencies
20
  RUN pip install --upgrade pip && \
 
21
  pip install --no-cache-dir -r requirements.txt
22
 
23
  # Copy application code
 
7
  curl \
8
  ffmpeg \
9
  libsndfile1 \
10
+ git \
11
+ build-essential \
12
  && rm -rf /var/lib/apt/lists/*
13
 
14
  # Create necessary directories with proper permissions
 
18
  # Copy requirements first for better caching
19
  COPY requirements.txt .
20
 
21
+ # Install Python dependencies with compatibility fixes
22
  RUN pip install --upgrade pip && \
23
+ pip install --no-cache-dir --upgrade setuptools wheel && \
24
  pip install --no-cache-dir -r requirements.txt
25
 
26
  # Copy application code