Download Dockerfile from OrlaLabs/PhyCAD-Bench: direct link, hf CLI and curl.
- Browser
- Download file 865 Bytes
-
https://huggingface.co/datasets/OrlaLabs/PhyCAD-Bench/resolve/main/Dockerfile
- Command line
-
hf download hf://datasets/OrlaLabs/PhyCAD-Bench/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/OrlaLabs/PhyCAD-Bench/resolve/main/Dockerfile
865 Bytes
| FROM --platform=linux/amd64 mambaorg/micromamba:2.3.2 | |
| USER root | |
| RUN apt-get update && apt-get install -y --no-install-recommends libglu1-mesa \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN micromamba create -y -n cad -c conda-forge python=3.11 pip \ | |
| && /opt/conda/envs/cad/bin/python -m pip install --no-cache-dir cadquery==2.6.1 gmsh==4.14.1 \ | |
| && micromamba create -y -n chrono -c conda-forge -c projectchrono python=3.12 projectchrono::pychrono=9.0.1 \ | |
| && /opt/conda/envs/chrono/bin/python -m pip install --no-cache-dir scipy==1.14.1 \ | |
| && micromamba clean --all --yes | |
| WORKDIR /bench | |
| COPY . /bench | |
| ENV CAD_PYTHON=/opt/conda/envs/cad/bin/python \ | |
| PHYSICS_PYTHON=/opt/conda/envs/chrono/bin/python \ | |
| PHYCAD_BENCH_CONTAINER=1 \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| HOME=/tmp | |
| ENTRYPOINT ["/opt/conda/envs/chrono/bin/python", "/bench/benchmark.py"] | |