X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2FNG-UI%2FDockerfile;h=c4d67df91896cb500e01f5ffe01bd4d2f6166c72;hb=8400395b2e94a3a886cc3192be3fc125aa5dd7c1;hp=6e9e79d0f9bc01fb48edb5ec03074f2cd26a3f89;hpb=b147d7129db4f7cae26a31230af184c958b20683;p=osm%2Fdevops.git diff --git a/docker/NG-UI/Dockerfile b/docker/NG-UI/Dockerfile index 6e9e79d0..c4d67df9 100644 --- a/docker/NG-UI/Dockerfile +++ b/docker/NG-UI/Dockerfile @@ -65,14 +65,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \ # Removing the Nginx default page. RUN rm -rf /usr/share/nginx/html/* -# Creating the user for the app -RUN groupadd -g 1000 appuser && \ - useradd -u 1000 -g 1000 -d /usr appuser && \ - chown -R appuser:appuser /usr /var/lib/nginx /var/log/nginx /etc/nginx /run - -# Changing the security context -USER appuser - # Copying Nginx configuration COPY --from=INSTALL /usr/share/osm-ngui/nginx/nginx.conf /etc/nginx/sites-available/default