| FROM python:3.8-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN pip install gradio numpy gtts pydub tensorflow matplotlib opencv-python | |
| RUN apt-get update && apt-get install -y libgl1-mesa-glx | |
| RUN pip install --upgrade gradio | |
| COPY Data /app3/Data | |
| COPY ROCAS.token.txt /app3/ROCAS.token.txt | |
| COPY pesos10.npy /app3/pesos10.npy | |
| RUN chmod 777 /app3 | |
| COPY . . | |
| CMD ["python", "app.py"] |