Spaces:
Build error
Build error
bentebbutt
commited on
Commit
•
b445ce2
1
Parent(s):
5c15a5f
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -24,7 +24,7 @@ RUN chown -R pn:pn /var/cache/nginx \
|
|
24 |
|
25 |
# Install ollama and start the server as the root user
|
26 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
27 |
-
RUN ollama serve &
|
28 |
|
29 |
# Switch back to the 'pn' user for installing dependencies and building the app
|
30 |
USER pn
|
|
|
24 |
|
25 |
# Install ollama and start the server as the root user
|
26 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
27 |
+
RUN nohup ollama serve > /dev/null 2>&1 &
|
28 |
|
29 |
# Switch back to the 'pn' user for installing dependencies and building the app
|
30 |
USER pn
|