Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -10,6 +10,9 @@ WORKDIR $HOME
|
|
| 10 |
# Ensure the user has access to the directory
|
| 11 |
RUN mkdir -p $HOME/.ollama && chown -R ollama-user:ollama-user $HOME/.ollama
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
# Copy the entrypoint script before switching users
|
| 14 |
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
| 15 |
|
|
|
|
| 10 |
# Ensure the user has access to the directory
|
| 11 |
RUN mkdir -p $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
|
| 15 |
+
|
| 16 |
# Copy the entrypoint script before switching users
|
| 17 |
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
| 18 |
|