Files

19 lines
469 B
Docker

FROM nginx:alpine
# Copy website files to nginx html directory
COPY index.html /usr/share/nginx/html/
COPY style.css /usr/share/nginx/html/
COPY stats.js /usr/share/nginx/html/
COPY screenshot.png /usr/share/nginx/html/
COPY org-social-logo.png /usr/share/nginx/html/
COPY favicon.png /usr/share/nginx/html/
# Copy custom nginx configuration
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Expose port 80
EXPOSE 80
# Start nginx
CMD ["nginx", "-g", "daemon off;"]