summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile18
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