Spaces:
Runtime error
Runtime error
Download Dockerfile from jordonpeter01/subtitle: direct link, hf CLI and curl.
- Browser
- Download file 534 Bytes
-
https://huggingface.co/spaces/jordonpeter01/subtitle/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jordonpeter01/subtitle/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jordonpeter01/subtitle/resolve/main/Dockerfile
534 Bytes
| # Use the official Python image as the base | |
| FROM python:3.8-slim-buster | |
| # Set the working directory in the container | |
| WORKDIR /app | |
| # Copy the requirements.txt file to the working directory | |
| COPY requirements.txt . | |
| # Install the Python dependencies | |
| RUN pip install -r requirements.txt | |
| # Copy the app code to the working directory | |
| COPY . . | |
| # Expose the port on which your Streamlit app is running (change if necessary) | |
| EXPOSE 7860 | |
| # Set the command to run the Streamlit app | |
| CMD ["streamlit", "run", "01_🎥_Input_YouTube_Link.py"] | |