Spaces:
Paused
Paused
Download Dockerfile from Yaelcode/mega-worker: direct link, hf CLI and curl.
- Browser
- Download file 508 Bytes
-
https://huggingface.co/spaces/Yaelcode/mega-worker/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Yaelcode/mega-worker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Yaelcode/mega-worker/resolve/main/Dockerfile
508 Bytes
| FROM ubuntu:22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # Temel araçlar ve TOR kurulumu | |
| RUN apt-get update && apt-get install -y curl wget gnupg2 python3 python3-pip unzip psmisc tor | |
| # Mega-CMD Kurulumu | |
| RUN wget https://mega.nz/linux/repo/xUbuntu_22.04/amd64/megacmd-xUbuntu_22.04_amd64.deb && \ | |
| apt-get install -y ./megacmd-xUbuntu_22.04_amd64.deb && \ | |
| rm megacmd-xUbuntu_22.04_amd64.deb | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip3 install -r requirements.txt | |
| COPY . . | |
| CMD ["python3", "app.py"] |