Spaces:
Sleeping
Sleeping
arslan-ahmed
commited on
Commit
•
ffa01c1
1
Parent(s):
6f4fcce
Update Dockerfile
Browse files- Dockerfile +0 -3
Dockerfile
CHANGED
@@ -15,8 +15,5 @@ ENV GRADIO_SERVER_NAME=0.0.0.0
|
|
15 |
# Install any needed packages specified in requirements.txt
|
16 |
# RUN pip install --no-cache-dir -r requirements.txt # already installed in base image
|
17 |
|
18 |
-
#to be moved to ttyd_base image
|
19 |
-
RUN python -c "from sentence_transformers import SentenceTransformer; model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2', cache_folder='./tmp/hfEmbModel')"
|
20 |
-
|
21 |
# Use ENTRYPOINT to allow passing user arguments
|
22 |
ENTRYPOINT ["python", "app.py"]
|
|
|
15 |
# Install any needed packages specified in requirements.txt
|
16 |
# RUN pip install --no-cache-dir -r requirements.txt # already installed in base image
|
17 |
|
|
|
|
|
|
|
18 |
# Use ENTRYPOINT to allow passing user arguments
|
19 |
ENTRYPOINT ["python", "app.py"]
|