summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
blob: 10657767b77d401d31e9a9a690fd6a42495722ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM continuumio/miniconda3

RUN apt-get update && \
    apt-get install -y libgl1-mesa-glx gcc bash && \
    rm -rf /var/lib/apt/lists/*


COPY ./docker/environment.yml .

RUN conda env create -f environment.yml

RUN conda init bash

SHELL ["bash", "-lc"]

RUN conda activate myenv

RUN pip3 install solidpython

RUN echo "source activate myenv" >> ~/.bashrc
ENV PATH /opt/conda/envs/myenv/bin:$PATH

WORKDIR /app/src