aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index b37951a..78556cc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,9 +17,9 @@ USER root
RUN apk add gettext # required for envsubst in docker_entrypoint.sh
USER nginx
-COPY server/nginx* ./
-COPY docker_entrypoint.sh .
-COPY --from=builder /usr/src/app/dist/frontend /usr/share/nginx/html
+COPY --chown=nginx:nginx server/nginx* ./
+COPY --chown=nginx:nginx docker_entrypoint.sh .
+COPY --from=builder --chown=nginx:nginx /usr/src/app/dist/frontend /usr/share/nginx/html
ENTRYPOINT ["/docker_entrypoint.sh"]
EXPOSE ${NGINX_PORT}
CMD ["nginx", "-g", "daemon off;"]