Spaces:
Paused
Paused
Download Dockerfile from martinakaduc/melt: direct link, hf CLI and curl.
- Browser
- Download file 441 Bytes
-
https://huggingface.co/spaces/martinakaduc/melt/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/martinakaduc/melt/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/martinakaduc/melt/resolve/main/Dockerfile
441 Bytes
| FROM ubuntu:20.04 | |
| RUN apt-get update -y && apt-get install -y python3.9 python3.9-distutils curl | |
| RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
| RUN python3.9 get-pip.py | |
| RUN mkdir /root/fastchat | |
| COPY . /root/fastchat | |
| WORKDIR /root/fastchat | |
| RUN pip3 install -e ".[model_worker,webui]" | |
| EXPOSE 7860 | |
| CMD python3.9 -m fastchat.serve.gradio_web_server --gradio-root-path /melt --controller "" --share --register ./api_endpoints.json |