Team Ai
Apppublic

FallnAI/Text-Generation-Inference-Server

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes
Dockerfile17 linesDownload Raw Back to root
1FROM ghcr.io/huggingface/text-generation-inference:latest2 3# Set up a new user named "user" with user ID 10004RUN useradd -m -u 1000 user5 6# Switch to the "user" user7USER user8 9# Set home to the user's home directory10ENV HOME=/home/user \11	PATH=/home/user/.local/bin:$PATH12 13# Set the working directory to the user's home directory14WORKDIR $HOME/15EXPOSE 8016 17CMD ["text-generation-inference", "--model-id", "mistralai/Mistral-7B-Instruct-v0.1"]