Dockerfile 253 B

1234567891011121314
  1. # Use nginx base image
  2. FROM nginx:alpine
  3. # Remove default nginx static files
  4. RUN rm -rf /usr/share/nginx/html/*
  5. # Copy our static site
  6. COPY index.html /usr/share/nginx/html/
  7. # Expose port 80
  8. EXPOSE 80
  9. # Start nginx
  10. CMD ["nginx", "-g", "daemon off;"]