diff --git a/docker/dockerfile b/docker/dockerfile index f1e4bc03f11126728e849f84c45c26e9a02f127a..7f219776df0be942e3beb9755496bce3e6a7e2f2 100644 --- a/docker/dockerfile +++ b/docker/dockerfile @@ -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 diff --git a/earthdiagnostics/earthdiags.py b/earthdiagnostics/earthdiags.py index dfcba88a5534dd7cd7f977ba85f800917b5a5b38..adda458001d1bd0af7f376a999f19f7deeb1ab01 100755 --- a/earthdiagnostics/earthdiags.py +++ b/earthdiagnostics/earthdiags.py @@ -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)