Download Dockerfile from bincooo/bypass: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/spaces/bincooo/bypass/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/bincooo/bypass/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/bincooo/bypass/resolve/main/Dockerfile
1.22 kB
| FROM ubuntu:latest | |
| WORKDIR /app | |
| ADD helper bin/linux/helper | |
| ADD exec . | |
| ADD server . | |
| ADD launch.conf . | |
| ADD config.yaml . | |
| RUN apt update \ | |
| && apt-get install -y curl unzip wget gnupg2 | |
| # Install google | |
| RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \ | |
| && echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \ | |
| && apt-get update \ | |
| && apt-get install -y google-chrome-stable | |
| RUN google-chrome-stable --version | |
| # Install Edge | |
| # RUN wget -q -O - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/microsoft.gpg >/dev/null \ | |
| # && echo "deb https://packages.microsoft.com/repos/edge stable main" >> /etc/apt/sources.list.d/microsoft-edge.list \ | |
| # && apt-get update -qqy \ | |
| # && apt-get -qqy --no-install-recommends install microsoft-edge-stable | |
| # RUN sed -i 's/#execPath/execPath/g' config.yaml | |
| RUN chmod +x exec \ | |
| && chmod +x server \ | |
| && chmod +x bin/linux/helper \ | |
| && mkdir log && chmod 777 log \ | |
| && mkdir tmp && chmod 777 tmp | |
| #ENV ARG "--port 7860 --log info --proxies http://85.194.243.117:17890" | |
| CMD ["./exec -c launch.conf"] | |
| ENTRYPOINT ["sh", "-c"] |