Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -7
Dockerfile
CHANGED
@@ -24,10 +24,6 @@ COPY . /app
|
|
24 |
ENV MODEL_REPO=TheBloke/phi-2-GGUF
|
25 |
ENV MODEL_FILE=phi-2.Q4_K_M.gguf
|
26 |
|
27 |
-
|
28 |
-
RUN
|
29 |
-
|
30 |
-
'uvicorn app:app --host 0.0.0.0 --port 7860' > entrypoint.sh && \
|
31 |
-
chmod +x entrypoint.sh
|
32 |
-
|
33 |
-
CMD ["./entrypoint.sh"]
|
|
|
24 |
ENV MODEL_REPO=TheBloke/phi-2-GGUF
|
25 |
ENV MODEL_FILE=phi-2.Q4_K_M.gguf
|
26 |
|
27 |
+
COPY start.sh .
|
28 |
+
RUN chmod +x start.sh
|
29 |
+
CMD ["./start.sh"]
|
|
|
|
|
|
|
|