lmszx / Dockerfile
Sunrusojsis's picture
Update Dockerfile
db66d64 verified
raw
history blame
353 Bytes
FROM python:3.11
RUN apt update
RUN apt install git
RUN git clone https://github.com/egcash/hf-llm-api.git /app
WORKDIR "/app"
RUN pip install -r requirements.txt
# RUN mkdir -p /data && chmod -R 755 /data
# VOLUME /data [new version ]
EXPOSE 7860
# Run the command to start Uvicorn
CMD ["uvicorn", "proxy:app", "--host", "0.0.0.0", "--port", "7860"]