diff --git a/Dockerfile b/Dockerfile index 2e74bb6..0dc8ae2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ ARG APP_VERSION=$(APP_VERSION) ENV APP_VERSION=$APP_VERSION # create a new non-root user and switch to it -RUN useradd --create-home -u 1000 nru +RUN useradd --create-home -u 999 nru USER nru # Create the directory for the code and cd to it diff --git a/src/staging/staging.py b/src/staging/staging.py index a8352cd..67ed0dc 100644 --- a/src/staging/staging.py +++ b/src/staging/staging.py @@ -282,8 +282,6 @@ def final_staging(self, run_id: str, run_dir: str, staging_type: StagingType) -> # compress the directory into the package directory shutil.make_archive(archive_file, 'zip', run_dir) - self.logger.info('glob dir: %s/**/', run_dir) - # remove all directories from the run (leaving the archive file) [shutil.rmtree(data_dir, ignore_errors=True) for data_dir in glob.glob(f'{run_dir}/**/')] else: