i-darrshan commited on
Commit
fd84e25
1 Parent(s): 5ec0b26

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -8,6 +8,4 @@ ENTRYPOINT ["text-embeddings-inference"]
8
  CMD ["--model-id", "BAAI/bge-small-en-v1.5", "--revision", "-main", "--port", "7860"]
9
 
10
  # Expose the port on which the service will run (Hugging Face Spaces uses port 7860)
11
- EXPOSE 7860
12
-
13
- CMD ["docker", "run", "-p", "8001:7860", "-d", "--rm", "--name", "huggingface-embedding-server", "huggingface-embedding-server"]
 
8
  CMD ["--model-id", "BAAI/bge-small-en-v1.5", "--revision", "-main", "--port", "7860"]
9
 
10
  # Expose the port on which the service will run (Hugging Face Spaces uses port 7860)
11
+ EXPOSE 7860