Spaces:
Build error
Build error
File size: 485 Bytes
96c61eb 7a8cd4d 96c61eb 7a8cd4d 96c61eb 7a8cd4d 96c61eb 7a8cd4d 96c61eb d53f9a7 7a8cd4d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | FROM python:3.10-slim
# Install git
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Clone the repo
RUN git clone https://huggingface.co/KevinAHM/pocket-tts-onnx
# Copy Space files
COPY . /app
# Copy app.py into the repo workdir
RUN cp /app/app.py /app/pocket-tts-onnx/app.py
# Move into repo
WORKDIR /app/pocket-tts-onnx
# Install deps
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install Flask
CMD ["python3", "app.py"] |