This commit is contained in:
@@ -10,4 +10,5 @@ RUN npx nuxi generate
|
|||||||
|
|
||||||
FROM nginx:latest
|
FROM nginx:latest
|
||||||
RUN rm /usr/share/nginx/html/*
|
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/
|
COPY --from=build --chown=1000:1000 /app/.output/public /usr/share/nginx/html/
|
||||||
|
|||||||
Reference in New Issue
Block a user