FROM nginx:alpine # Remove default content RUN rm -rf /usr/share/nginx/html/* # static site COPY static /usr/share/nginx/html # a custom nginx config COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80