From 533e866d3a6b38c958512e5965c06c66c46b7461 Mon Sep 17 00:00:00 2001 From: Bas Nijholt <basnijholt@gmail.com> Date: Tue, 20 Aug 2019 17:44:59 +0200 Subject: [PATCH] copy env --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 01f0278..e182b77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,13 @@ FROM continuumio/miniconda MAINTAINER Bas Nijholt <bas@nijho.lt> +RUN mkdir /environments +COPY environment.yml /environments/ + +RUN conda-env create -f /environments/environment.yml + RUN apt-get -o Acquire::Check-Valid-Until=false update -q && apt-get install -qy \ texlive-full \ python-pygments gnuplot \ make git \ && rm -rf /var/lib/apt/lists/* - -COPY environment.yml . - -RUN conda-env create -f environment.yml -- GitLab