Dockerfile 283 Bytes
Newer Older
1
2
3
4
5
FROM nginx
EXPOSE 80
RUN sed -i -e 's, location / {, location /patterns-and-frameworks {,g' /etc/nginx/conf.d/default.conf; \
sed -i -e 's,        root   /usr/share/nginx/html;,        alias   /usr/share/nginx/html;,g' /etc/nginx/conf.d/default.conf
COPY docs/ /usr/share/nginx/html