diff options
author | Joshua Shreve <j.a.shreve@gmail.com> | 2021-07-16 20:53:57 -0400 |
---|---|---|
committer | Joshua Shreve <j.a.shreve@gmail.com> | 2021-07-16 20:53:57 -0400 |
commit | 2308d88617e77cf58414d01694de523970e60996 (patch) | |
tree | 46f4fec3a016600a3d7b4faab3daa81ef3da4a86 /docker | |
parent | 3e15f8564a959c0dbe73f2e71d1c916c62eb3aea (diff) |
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.
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 18 |
1 files changed, 18 insertions, 0 deletions
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 |