melt / Dockerfile
martinakaduc's picture
Upload folder using huggingface_hub
f3305db verified
raw
history blame contribute delete
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