FROM nginx MAINTAINER gmarxcc #enable the autoindex option RUN sed -i 'N; s/root \/usr\/share\/nginx\/html;\n index index.html index.htm;/root \/usr\/share\/nginx\/html;\n autoindex on;/' /etc/nginx/conf.d/default.conf #COPY nginx.conf /etc/nginx/nginx.conf #COPY html /usr/share/nginx/html