From 1f648473a40f60d275c0fa5a08f37b944407c623 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Mon, 23 Aug 2021 15:34:29 +0200 Subject: [PATCH] switching from alpine to ubuntu base --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 540dab8..90e0aa0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get upgrade -y # add user that will be used to install and run the application RUN groupadd -g 1000 deploy -RUN useradd -u 1000 -g deploy deploy +RUN useradd -m -u 1000 -g deploy deploy # install required packages for debugging # RUN apt-get install -y vim curl lsof @@ -18,7 +18,7 @@ RUN useradd -u 1000 -g deploy deploy # install required packages -RUN apt-get install -y python3 +RUN apt-get install -y python3 python3-pip # switch to the created user and install the application USER deploy