ffreemt commited on
Commit
0e238ed
1 Parent(s): 42faefb
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -20,8 +20,8 @@ RUN pip install --no-cache-dir --upgrade pip && \
20
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
21
  # CMD ["TRANSFORMERS_CACHE=./", "infinity_emb", "--model-name-or-path", "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2", "--port", "7860"]
22
 
23
- # CMD ["sh", "-c", "HF_HOME=/tmp/cache", "python", "m3_server.py"]
24
  # CMD ["python", "m3_server.py"]
25
 
26
  # CMD ["sh", "start-m3-server.sh"] # OK
27
- ["sh", "-c", "'FOO=BAR python app.py'"]
 
20
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
21
  # CMD ["TRANSFORMERS_CACHE=./", "infinity_emb", "--model-name-or-path", "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2", "--port", "7860"]
22
 
23
+ # x ["sh", "-c", "'FOO=BAR python app.py'"]
24
  # CMD ["python", "m3_server.py"]
25
 
26
  # CMD ["sh", "start-m3-server.sh"] # OK
27
+ CMD ["sh", "-c", "HF_HOME=/tmp/cache", "python", "m3_server.py"]