Spaces:
Paused
Paused
Rename Dockerfile to dockerfile
Browse files- 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
|
| 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 |
-
#
|
| 26 |
-
|
|
|
|
| 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 |
|