Spaces:
Runtime error
Runtime error
Download Dockerfile from datajuicer/data_visualization_op_effect: direct link, hf CLI and curl.
- Browser
- Download file 593 Bytes
-
https://huggingface.co/spaces/datajuicer/data_visualization_op_effect/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/datajuicer/data_visualization_op_effect/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/datajuicer/data_visualization_op_effect/resolve/main/Dockerfile
593 Bytes
| FROM python:3.10 | |
| RUN apt update && apt install -y default-jdk default-jre git ffmpeg libsm6 libxext6 software-properties-common build-essential cmake gfortran libopenblas-dev liblapack-dev | |
| ENV JAVA_HOME=/usr/lib/jvm/default-java | |
| RUN pip install pybind11 | |
| RUN pip install "py-data-juicer[all] @ git+https://github.com/alibaba/data-juicer.git" | |
| RUN useradd -m -u 1000 dj | |
| USER dj | |
| ENV HOME=/home/dj | |
| RUN cd $HOME/ && git clone https://github.com/alibaba/data-juicer.git && cd ../ | |
| WORKDIR $HOME/data-juicer/demos/data_visualization_op_effect | |
| RUN chown -R dj $HOME/ | |
| CMD ["streamlit", "run", "app.py"] |