diff --git a/Dockerfile b/Dockerfile index aaef0d32c6f7c198253f74bf93793b8fffb7d1c6..71e10303530f369266af36be2eae3194965ca12f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,5 +79,6 @@ FROM nginx:1.25-bookworm RUN apt update -y && apt install -y COPY nginx.conf /etc/nginx/nginx.conf COPY --from=generate /usr/src/app/.output/public /usr/share/nginx/html +RUN chmod -R nginx:nginx /usr/share/nginx/html USER nginx CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file