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