From 8dae61243999da0ba0e342c580a9bc16ba05cd6c Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Fri, 2 Sep 2022 05:47:42 -0400 Subject: [PATCH] Install numpy using conda --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 368b48e..edb4927 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,4 @@ -# Python version can be changed, e.g. -# FROM python:3.8 -# FROM docker.io/fnndsc/conda:python3.10.2-cuda11.6.0 -FROM docker.io/python:3.10.6-slim-bullseye +FROM docker.io/fnndsc/conda:python3.10.6 LABEL org.opencontainers.image.authors="FNNDSC " \ org.opencontainers.image.title="Average Edge Length" \ @@ -9,6 +6,7 @@ LABEL org.opencontainers.image.authors="FNNDSC " \ WORKDIR /usr/local/src/pl-obj-avg-edge-length +RUN conda install -c conda-forge numpy=1.22.4 COPY requirements.txt . RUN pip install -r requirements.txt