# 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