Spaces:
Running
Running
arslan-ahmed
commited on
Commit
•
c699df8
1
Parent(s):
e6011eb
Revert "Revert "Update Dockerfile""
Browse filesThis reverts commit edc39bb789b04bed469e5e9b3958b570ea239d94.
- 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"]
|