opencode / Dockerfile
o4858's picture
Update Dockerfile
6b790db verified
raw
history blame contribute delete
320 Bytes
FROM ghcr.io/linuxserver/code-server:latest
USER root
RUN apt-get update && apt-get install -y python3-pip git
# Hugging Face بيحتاج مستخدم بـ ID 1000
RUN useradd -m -u 1000 hugginguser || true
USER 1000
WORKDIR /home/hugginguser
CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "none", "."]