File size: 663 Bytes
add3ccf 287c28c add3ccf 287c28c add3ccf 287c28c c6681f6 287c28c c6681f6 287c28c c6681f6 add3ccf 287c28c c6681f6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# Use Python 3.7 as base image
FROM python:3.7-slim
# Set working directory
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
python3-pip \
python3.7-distutils \
&& rm -rf /var/lib/apt/lists/*
# Copy your application file
COPY app.py .
# Clone Indic-TTS and install dependencies
RUN cd Indic-TTS && \
cd Trainer && \
python3 -m pip install -e .[all] && \
cd ../TTS && \
python3 -m pip install -e .[all] && \
cd .. && \
python3 -m pip install -r requirements.txt
# Set working directory back to /app
WORKDIR /app
# Set default command to run your app
CMD ["python3", "app.py"] |