FROM nginx:latest

COPY nginx/conf.d /etc/nginx/conf.d
COPY nginx/include /etc/nginx/include
COPY nginx/nginx.conf /etc/nginx/nginx.conf
COPY nginx/htpasswd /etc/nginx/htpasswd
COPY nginx/htpasswd-docs /etc/nginx/htpasswd-docs

COPY static/robots.txt /usr/share/nginx/html/
RUN mkdir -p /usr/share/nginx/html/userdata
COPY static/index.html /usr/share/nginx/html/index.html
COPY static/userdata/index.html /usr/share/nginx/html/userdata/index.html
EXPOSE 8080
