Spaces:
Sleeping
Sleeping
Download Dockerfile from PatienceIzere/AudioTranscriber: direct link, hf CLI and curl.
- Browser
- Download file 754 Bytes
-
https://huggingface.co/spaces/PatienceIzere/AudioTranscriber/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/PatienceIzere/AudioTranscriber/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/PatienceIzere/AudioTranscriber/resolve/main/Dockerfile
754 Bytes
| FROM python:3.13.5-slim | |
| WORKDIR /app | |
| # Copy setup script and make it executable | |
| COPY requirements.txt . | |
| COPY setup.sh . | |
| RUN chmod +x setup.sh | |
| # Run the setup script | |
| RUN ./setup.sh | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| curl \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY . . | |
| RUN pip3 install -r requirements.txt | |
| EXPOSE 7860 | |
| HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health | |
| ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |
| #------------ | |
| # Copy the rest of the application | |
| #COPY . . | |
| # Expose the port the app runs on | |
| #EXPOSE 7860 | |
| # Command to run the application | |
| #CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |