FROM nginx:latest WORKDIR /etc/nginx COPY ./config/nginx.conf ./ COPY ./config/shwarp.ca ./ COPY ./config/pages.redirects /etc/nginx/conf.d/ RUN mkdir html COPY ./static ./html/static COPY ./stubs ./html/stubs COPY ./pages ./html/pages RUN nginx -t