FROM ubuntu:22.04 # إعداد المتغيرات بشكل صحيح لتجنب أخطاء التفاعل ENV DEBIAN_FRONTEND=noninteractive ENV HOSTNAME=Nobita # تثبيت الحزم الأساسية (تم إزالة ntop لتجنب الخطأ) RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ wget \ git \ sudo \ docker.io \ htop \ neovim \ screen \ lsof \ qemu-system \ cloud-image-utils \ && rm -rf /var/lib/apt/lists/* # تثبيت code-server RUN curl -fSL https://code-server.dev/install.sh | sh # إعداد مساحة العمل WORKDIR /workspace # فتح المنفذ الخاص بـ Hugging Face EXPOSE 7860 # أمر التشغيل CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "none"]