X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2FNG-UI%2FDockerfile;h=74aa1d4696c8f2a4f264b8f6cf461499f27a9d56;hb=refs%2Ftags%2Fv13.0.0rc1;hp=6e9e79d0f9bc01fb48edb5ec03074f2cd26a3f89;hpb=b147d7129db4f7cae26a31230af184c958b20683;p=osm%2Fdevops.git diff --git a/docker/NG-UI/Dockerfile b/docker/NG-UI/Dockerfile index 6e9e79d0..74aa1d46 100644 --- a/docker/NG-UI/Dockerfile +++ b/docker/NG-UI/Dockerfile @@ -62,17 +62,11 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \ nginx=1.18.* && \ rm -rf /var/lib/apt/lists/* +RUN rm -f /etc/apt/apt.conf.d/proxy.conf + # 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