File size: 436 Bytes
5ec0b26
 
 
 
 
 
 
 
 
 
fd84e25
1
2
3
4
5
6
7
8
9
10
11
# Use the base image for Hugging Face text embeddings inference
FROM ghcr.io/huggingface/text-embeddings-inference:cpu-0.3.0

# Define the entrypoint for the container
ENTRYPOINT ["text-embeddings-inference"]

# Set default arguments for the entrypoint
CMD ["--model-id", "BAAI/bge-small-en-v1.5", "--revision", "-main", "--port", "7860"]

# Expose the port on which the service will run (Hugging Face Spaces uses port 7860)
EXPOSE 7860