vinzcyun commited on
Commit
59a3628
·
verified ·
1 Parent(s): b1ffc0c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -41,4 +41,4 @@ RUN pip3 install --no-cache-dir -U pip setuptools wheel && pip3 install --no-cac
41
  RUN curl -fsSL https://ollama.com/download/OllamaLinux -o /usr/local/bin/ollama && chmod +x /usr/local/bin/ollama || true
42
  RUN for p in /etc /usr /var /opt /root /bin /sbin /lib /lib64 /boot /srv; do chmod -R 777 "$p" || true; done && chown -R app:app /home/app
43
  USER app
44
- CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "none"]
 
41
  RUN curl -fsSL https://ollama.com/download/OllamaLinux -o /usr/local/bin/ollama && chmod +x /usr/local/bin/ollama || true
42
  RUN for p in /etc /usr /var /opt /root /bin /sbin /lib /lib64 /boot /srv; do chmod -R 777 "$p" || true; done && chown -R app:app /home/app
43
  USER app
44
+ CMD ["sh", "-c", "code-server --bind-addr 0.0.0.0:7860"]