Spaces:
Runtime error
Runtime error
FROM continuumio/miniconda3 | |
# Install necessary packages | |
RUN apt update && apt install espeak-ng ffmpeg -y | |
# Set working directory | |
WORKDIR /root | |
# Add requirements file and install dependencies | |
ADD ./requirements.txt . | |
RUN pip install -r requirements.txt | |
# Add source code | |
ADD ./src . | |
# Ensure main.py has execute permissions | |
RUN chmod +x main.py | |
# Download NLTK data | |
RUN python -m nltk.downloader punkt | |
# Specify the command to run the application | |
CMD ["python", "./main.py"] |