From 44df0883089dbf50663b4f4964494367d2e6dc87 Mon Sep 17 00:00:00 2001 From: Stephen Beckstrom-Sternberg Date: Fri, 10 Nov 2023 11:32:24 -0700 Subject: [PATCH] Update Dockerfile Added USER = "$USER" before pip3 install of dependencies. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8b99200..306e128 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,9 +20,10 @@ LABEL maintainer.email="stephen.beckstrom-sternberg@azdhs.gov" # 'RUN' executes code during the build # Install Python and pip RUN apt-get update && apt-get install -y --no-install-recommends \ -python3 python3-pip && \ +apt-utils python3 python3-pip && \ apt-get clean && rm -rf /var/lib/apt/lists/* +USER "$USER" # Install Python dependencies RUN pip3 install pandas numpy pathlib seaborn matplotlib scipy