Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -8,7 +8,7 @@ ENV HOME=/home/ollama-user
|
|
| 8 |
WORKDIR $HOME
|
| 9 |
|
| 10 |
# Ensure the user has access to the directory
|
| 11 |
-
RUN mkdir -p $HOME/.ollama && chmod 755 /home && chmod 755/home/ollama-user && chmod -R 777 $HOME/.ollama && chown -R ollama-user:ollama-user $HOME/.ollama
|
| 12 |
|
| 13 |
# Install netcat (nc) for checking server readiness
|
| 14 |
RUN apt-get update && apt-get install -y netcat-traditional
|
|
|
|
| 8 |
WORKDIR $HOME
|
| 9 |
|
| 10 |
# Ensure the user has access to the directory
|
| 11 |
+
RUN mkdir -p $HOME/.ollama && chmod 755 /home && chmod 755 /home/ollama-user && chmod -R 777 $HOME/.ollama && chown -R ollama-user:ollama-user $HOME/.ollama
|
| 12 |
|
| 13 |
# Install netcat (nc) for checking server readiness
|
| 14 |
RUN apt-get update && apt-get install -y netcat-traditional
|