duck3 / Dockerfile
BG5's picture
Update Dockerfile
1a91194 verified
raw
history blame contribute delete
498 Bytes
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile
FROM vllm/vllm-openai:latest
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /app
# COPY --chown=user ./requirements.txt requirements.txt
# RUN pip install vllm
COPY --chown=user . /app
EXPOSE 8000
# 设置默认命令(可根据需要修改)
# CMD ["bash", "-c", "vllm serve deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B"]