From 2308d88617e77cf58414d01694de523970e60996 Mon Sep 17 00:00:00 2001 From: Joshua Shreve Date: Fri, 16 Jul 2021 20:53:57 -0400 Subject: Added docker capabilities and profile including batch file execution. If there is expressed interest I can add a linux .sh file as well to simplify image and container/app creation. Also, minor fixes on print outputs regarding imports/exports. --- docker/Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docker/Dockerfile (limited to 'docker/Dockerfile') diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..9b43f7d --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,18 @@ +FROM mambaorg/micromamba:0.8.2 + +RUN apt-get update && \ + apt-get install -y libgl1-mesa-glx gcc bash && \ + rm -rf /var/lib/apt/lists/* + +WORKDIR /app +RUN micromamba install -y -n base -c conda-forge -c cadquery \ + python=3 \ + cadquery=master \ + numpy=1 \ + scipy=1 && \ + (rm /opt/conda/pkgs/cache/* || true) + +RUN pip3 install solidpython + + +WORKDIR /app/src \ No newline at end of file -- cgit v1.2.3