diff --git a/Dockerfile b/Dockerfile index fa291a2..1ded8be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,5 @@ RUN npx nuxi generate FROM nginx:latest RUN rm /usr/share/nginx/html/* +RUN sed -i -e '/location.*\/.*{/a autoindex on\;' /etc/nginx/conf.d/default.conf COPY --from=build --chown=1000:1000 /app/.output/public /usr/share/nginx/html/