Spaces:
No application file
No application file
File size: 441 Bytes
f3305db |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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 |