Browse Source

switching from alpine to ubuntu base

funding-tag
Holger Frey 4 years ago
parent
commit
1f648473a4
  1. 4
      Dockerfile

4
Dockerfile

@ -6,7 +6,7 @@ RUN apt-get update && apt-get upgrade -y @@ -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 @@ -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

Loading…
Cancel
Save