Download Dockerfile from bikabey2/wisp: direct link, hf CLI and curl.
- Browser
- Download file 773 Bytes
-
https://huggingface.co/spaces/bikabey2/wisp/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/bikabey2/wisp/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/bikabey2/wisp/resolve/main/Dockerfile
773 Bytes
| FROM ubuntu:22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # Sadece Gerekli Güç: Java ve Tünel (Süper Hızlı Build) | |
| RUN apt-get update && apt-get install -y \ | |
| openjdk-21-jdk curl wget git sudo \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # HF için Kullanıcı Ayarı (UID 1000) | |
| RUN useradd -u 1000 -m admin && \ | |
| echo "admin ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers | |
| # Bore Tünel Kurulumu (0.5.1 v) | |
| RUN wget -q https://github.com/ekzhang/bore/releases/download/v0.5.1/bore-v0.5.1-x86_64-unknown-linux-musl.tar.gz && \ | |
| tar -xzf bore-v0.5.1-x86_64-unknown-linux-musl.tar.gz && \ | |
| mv bore /usr/local/bin/bore && chmod +x /usr/local/bin/bore | |
| WORKDIR /home/admin | |
| COPY entrypoint.sh /entrypoint.sh | |
| RUN chmod +x /entrypoint.sh | |
| ENTRYPOINT ["/bin/bash", "/entrypoint.sh"] | |