Spaces:
Running
Running
| FROM ollama/ollama:latest | |
| RUN apt-get update && apt-get install -y python3 python3-pip ffmpeg curl && rm -rf /var/lib/apt/lists/* | |
| RUN pip3 install --no-cache-dir gradio requests faster-whisper --break-system-packages | |
| COPY app.py /app.py | |
| COPY entrypoint.sh /entrypoint.sh | |
| RUN chmod +x /entrypoint.sh | |
| EXPOSE 7860 | |
| ENTRYPOINT [] | |
| CMD ["bash", "/entrypoint.sh"] |