Spaces:
Runtime error
Runtime error
| # Use an official Python runtime as a parent image | |
| FROM python:3.10 | |
| # Set the working directory in the container | |
| WORKDIR /home/user/app | |
| # Install Whisper from GitHub | |
| RUN pip install git+https://github.com/openai/whisper.git | |
| # Copy the requirements file into the container | |
| COPY requirements.txt /tmp/requirements.txt | |
| # Install dependencies listed in requirements.txt | |
| RUN pip install --no-cache-dir -r /tmp/requirements.txt | |
| # Copy the application code into the container | |
| COPY . /home/user/app | |
| # Command to run the application | |
| CMD ["python", "app.py"] | |