blob: ab7d85bba5e195c2a40b80751dcd02940111cf23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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 echo "source activate myenv" >> ~/.bashrc
ENV PATH /opt/conda/envs/myenv/bin:$PATH
WORKDIR /app/src
|