From cd3c11d2cee3b035097a3b98dcc32b89d373baf2 Mon Sep 17 00:00:00 2001 From: Fernando Aguilar Date: Mon, 25 Apr 2022 12:19:51 +0200 Subject: [PATCH] Update Dockerfile --- QC.FAIR/Dockerfile | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/QC.FAIR/Dockerfile b/QC.FAIR/Dockerfile index 0e59413..5f620c8 100644 --- a/QC.FAIR/Dockerfile +++ b/QC.FAIR/Dockerfile @@ -1,5 +1,23 @@ -FROM ferag/fair_eva:latest -LABEL maintainer="Fernando Aguilar " +FROM ubuntu:20.04 + +MAINTAINER Fernando Aguilar "aguilarf@ifca.unican.es" + +RUN apt-get update -y && \ + apt-get install -y curl python3-pip python3-dev git vim lsof + +RUN ls +RUN git clone https://github.com/EOSC-synergy/FAIR_eva.git + +WORKDIR /FAIR_eva + +RUN pip3 install -r requirements.txt + +EXPOSE 5000 9090 +RUN ls +COPY config.ini.template /FAIR_eva/config.ini +RUN cd /FAIR_eva +RUN chmod 777 start.sh +RUN cat start.sh COPY fair-eva.py /usr/bin RUN chmod +x /usr/bin/fair-eva.py CMD /FAIR_eva/start.sh