Spaces:
Build error
Build error
Download Dockerfile from ppeng08/conversational-data-science: direct link, hf CLI and curl.
- Browser
- Download file 470 Bytes
-
https://huggingface.co/spaces/ppeng08/conversational-data-science/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ppeng08/conversational-data-science/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ppeng08/conversational-data-science/resolve/main/Dockerfile
470 Bytes
| # Use an official Python runtime as a base image | |
| FROM python:3.12-slim | |
| # Set the working directory in the container | |
| WORKDIR /usr/src/app | |
| # Copy the requirements file into the container at /usr/src/app | |
| COPY requirements.txt ./ | |
| # Install any dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of your app's source code from your host to your image filesystem. | |
| COPY . . | |
| # Run the Streamlit app | |
| CMD ["streamlit", "run", "streamlit_app.py"] | |