From 1bd35ce2bcc62af481798ff4067727e90d542ee8 Mon Sep 17 00:00:00 2001 From: Robin Gottschalk Date: Wed, 19 Jun 2024 12:01:21 +0200 Subject: [PATCH] [DOS-548][ci] fix dockerfile for upstream fe image --- frontend/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 1f89832f93..78b8741f4a 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -45,11 +45,7 @@ RUN rm /usr/share/nginx/html/index.html && rm /etc/nginx/conf.d/default.conf # Copy project files from ‘builder’ stage copy over the artifacts in dist folder to default nginx public folder COPY --from=builder /ng-app/dist /usr/share/nginx/html -# Copy license info into final artifact -COPY ./DEPENDENCIES_FRONTEND /usr/share/nginx/html -COPY ./SECURITY.md /usr/share/nginx/html -COPY ./NOTICE.md /usr/share/nginx/html -COPY ./LICENSE /usr/share/nginx/html + # Give ownership to nginx user over dir with content RUN chown -R nginx:nginx /usr/share/nginx/html/