Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -23,13 +23,13 @@ COPY ./app /code/app
|
|
| 23 |
|
| 24 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 25 |
|
| 26 |
-
|
| 27 |
-
EXPOSE 7860
|
| 28 |
|
| 29 |
-
#
|
|
|
|
| 30 |
|
| 31 |
#
|
| 32 |
-
|
| 33 |
|
| 34 |
# # Run .sh file
|
| 35 |
ENTRYPOINT ["sh", "/code/start_service.sh"]
|
|
|
|
| 23 |
|
| 24 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 25 |
|
| 26 |
+
USER root
|
|
|
|
| 27 |
|
| 28 |
+
#
|
| 29 |
+
RUN chmod +x /code/start_service.sh
|
| 30 |
|
| 31 |
#
|
| 32 |
+
EXPOSE 7860
|
| 33 |
|
| 34 |
# # Run .sh file
|
| 35 |
ENTRYPOINT ["sh", "/code/start_service.sh"]
|