Rajhuggingface4253 commited on
Commit
97f4e01
·
verified ·
1 Parent(s): de5bd87

Rename Dockerfile to dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile → dockerfile +5 -3
Dockerfile → dockerfile RENAMED
@@ -7,6 +7,7 @@ RUN apt-get update && apt-get install -y \
7
  espeak-ng \
8
  libsndfile1 \
9
  git \
 
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
  # Copy requirements first for better caching
@@ -16,14 +17,15 @@ RUN pip install --no-cache-dir -r requirements.txt
16
  # Copy application code
17
  COPY . .
18
 
19
- # Clone neutts-air and set up properly (no pip install needed)
20
  RUN if [ ! -d "neutts-air" ]; then \
21
  echo "Cloning neutts-air..."; \
22
  git clone https://github.com/neuphonic/neutts-air.git; \
23
  fi
24
 
25
- # Verify the structure
26
- RUN echo "NeutTS Air contents:" && ls -la neutts-air/
 
27
 
28
  EXPOSE 7860
29
 
 
7
  espeak-ng \
8
  libsndfile1 \
9
  git \
10
+ ffmpeg \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
  # Copy requirements first for better caching
 
17
  # Copy application code
18
  COPY . .
19
 
20
+ # Clone neutts-air
21
  RUN if [ ! -d "neutts-air" ]; then \
22
  echo "Cloning neutts-air..."; \
23
  git clone https://github.com/neuphonic/neutts-air.git; \
24
  fi
25
 
26
+ # Set numba cache directory to writable location
27
+ ENV NUMBA_CACHE_DIR=/tmp/numba_cache
28
+ RUN mkdir -p /tmp/numba_cache && chmod 777 /tmp/numba_cache
29
 
30
  EXPOSE 7860
31