summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
blob: 9b43f7d5d2e2eeb5a1dfa5b2854f6afcae2a3064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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