Subhraj07 commited on
Commit
eba1da3
·
verified ·
1 Parent(s): 41dda76

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -10,8 +10,8 @@ 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
- # 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
 
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-openbsd (more reliable than netcat)
14
+ RUN apt-get update && apt-get install -y netcat-openbsd && rm -rf /var/lib/apt/lists/*
15
 
16
  # Copy the entrypoint script before switching users
17
  COPY entrypoint.sh /usr/local/bin/entrypoint.sh