FROM nginx:alpine
LABEL maintainer="services-homepage"

# Copy all static files into the image
COPY index.html /usr/share/nginx/html/
COPY styles.css /usr/share/nginx/html/
COPY manifest.json /usr/share/nginx/html/
COPY sw.js /usr/share/nginx/html/
COPY README.md /usr/share/nginx/html/
COPY FAQ.md /usr/share/nginx/html/
COPY FEATURES.md /usr/share/nginx/html/
COPY QUICK-REFERENCE.md /usr/share/nginx/html/
COPY ORDER-PERSISTENCE.md /usr/share/nginx/html/
COPY IMPLEMENTATION-SUMMARY.md /usr/share/nginx/html/
COPY logos/ /usr/share/nginx/html/logos/
COPY js/ /usr/share/nginx/html/js/
COPY nginx.conf /etc/nginx/nginx.conf

# Expose port 80
EXPOSE 80

# services.xml will be mounted at runtime as a bind mount
CMD ["nginx", "-g", "daemon off;"]
