| FROM ghcr.io/eooce/firefox:latest |
|
|
| FROM alpine:latest |
| USER root |
| COPY --from=source / / |
| RUN rm /home/vncuser/start.sh |
| RUN mkdir -p /data && \ |
| chmod -R 777 /data |
| |
| |
| RUN apk update && \ |
| apk add --no-cache \ |
| ca-certificates \ |
| curl \ |
| wget \ |
| bzip2 \ |
| p7zip \ |
| pigz \ |
| pv \ |
| git \ |
| git-lfs \ |
| sudo \ |
| python3 \ |
| python3-dev \ |
| py3-pip \ |
| py3-requests \ |
| py3-flask \ |
| py3-pexpect \ |
| py3-psutil |
| |
| |
| WORKDIR /data |
|
|
| USER root |
| |
| RUN pip3 install --upgrade pip --break-system-packages && \ |
| pip3 install --no-cache-dir --break-system-packages \ |
| jupyterlab \ |
| notebook \ |
| pexpect \ |
| psutil \ |
| requests \ |
| pytz \ |
| flask \ |
| kaggle \ |
| PyYAML \ |
| huggingface_hub \ |
| ipykernel && \ |
| pip3 install --upgrade huggingface_hub --break-system-packages |
|
|
| RUN wget -t 3 --retry-connrefused --timeout=30 -O "/home/vncuser/ff.sh" "https://huggingface.co/datasets/Qilan2/ff/raw/main/ff.sh" && \ |
| wget -t 3 --retry-connrefused --timeout=30 -O "/data/bf.py" "https://huggingface.co/datasets/Qilan2/ff/raw/main/bf.py" && \ |
| wget -t 3 --retry-connrefused --timeout=30 -O "/data/ff.py" "https://huggingface.co/datasets/Qilan2/ff/raw/main/ff.py" && \ |
| wget -t 3 --retry-connrefused --timeout=30 -O "/server-ff.sh" "https://huggingface.co/datasets/Qilan2/ff/raw/main/server-ff.sh" && \ |
| wget -t 3 --retry-connrefused --timeout=30 -O "/data/b.py" "https://huggingface.co/datasets/Qilan2/st-server/raw/main/sbx/b.py" && \ |
| chmod 777 /home/vncuser/ff.sh /server-ff.sh |
|
|
| USER vncuser |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| RUN pwd && ls && ls / |
| CMD ["/server-ff.sh"] |
| |