Spaces:
Paused
Paused
Download Dockerfile from Aserggdszz/server: direct link, hf CLI and curl.
- Browser
- Download file 814 Bytes
-
https://huggingface.co/spaces/Aserggdszz/server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Aserggdszz/server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Aserggdszz/server/resolve/main/Dockerfile
814 Bytes
| 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"] | |