Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -20,13 +20,13 @@ RUN curl -fsSL https://ollama.com/install.sh | sh
|
|
| 20 |
|
| 21 |
|
| 22 |
# Create the directory and give appropriate permissions
|
| 23 |
-
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
| 24 |
|
| 25 |
WORKDIR /.ollama
|
| 26 |
|
| 27 |
# Copy the entry point script
|
| 28 |
COPY entrypoint.sh /entrypoint.sh
|
| 29 |
-
RUN chmod +x /entrypoint.sh
|
| 30 |
|
| 31 |
# Set the entry point script as the default command
|
| 32 |
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
# Create the directory and give appropriate permissions
|
| 23 |
+
RUN sudo mkdir -p /.ollama && sudo chmod 777 /.ollama
|
| 24 |
|
| 25 |
WORKDIR /.ollama
|
| 26 |
|
| 27 |
# Copy the entry point script
|
| 28 |
COPY entrypoint.sh /entrypoint.sh
|
| 29 |
+
RUN sudo chmod +x /entrypoint.sh
|
| 30 |
|
| 31 |
# Set the entry point script as the default command
|
| 32 |
ENTRYPOINT ["/entrypoint.sh"]
|