Spaces:
Runtime error
Runtime error
Download Dockerfile from dataroadmap/SR_Chatbot: direct link, hf CLI and curl.
- Browser
- Download file 625 Bytes
-
https://huggingface.co/spaces/dataroadmap/SR_Chatbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dataroadmap/SR_Chatbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dataroadmap/SR_Chatbot/resolve/main/Dockerfile
625 Bytes
| # Use an official Python runtime as a parent image | |
| FROM arslan2k12/ttyd_base | |
| # Set the working directory in the container | |
| WORKDIR /app/ttyd | |
| # Copy the current directory contents into the container at /usr/src/app | |
| # COPY . /app/ttyd | |
| COPY *.py /app/ttyd | |
| # to make gradio app accessible to local network (default 127.0.0.1 is only accissible within the container) | |
| ENV GRADIO_SERVER_NAME=0.0.0.0 | |
| # Install any needed packages specified in requirements.txt | |
| # RUN pip install --no-cache-dir -r requirements.txt # already installed in base image | |
| # Use ENTRYPOINT to allow passing user arguments | |
| ENTRYPOINT ["python", "app.py"] |