Commit d607afb8 authored by Javier Vegas-Regidor's avatar Javier Vegas-Regidor
Browse files

Better logging and smaller docker

parent 845a5d62
......@@ -15,11 +15,10 @@ RUN conda update -y conda pip
COPY . /home/root/source
WORKDIR /home/root/source
RUN ls
RUN conda env update --name base --file environment.yml
RUN conda env update --name base --file environment.yml && conda clean --all -y
RUN git clone https://earth.bsc.es/gitlab/es/diagonals.git
RUN pip install ./diagonals
RUN pip install /home/root/source
RUN conda clean --all -y
RUN rm -r diagonals
RUN rm -r /home/root/source
......
......@@ -514,7 +514,7 @@ class EarthDiags(object):
Log.info("File {0} already exists", destiny)
return True
Log.info("Copying file {0}", destiny)
Log.info("Copying file {0}", os.path.abspath(destiny))
shutil.copyfile(source, destiny)
Log.info("File {0} ready", destiny)
Utils.rename_variables(destiny, self.dic_variables, False)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment