# The showcase site at quacklab.site.quack-lab.dev, served by nginx. task builds the site's pages, the stylesheet, the
# behaviour script and the changelog into the build context before the image is built, so the image copies them.
FROM nginx:alpine

COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY site/index.html site/changelog.html quacklab.css bundle.js /usr/share/nginx/html/
COPY site/components /usr/share/nginx/html/components
COPY fonts /usr/share/nginx/html/fonts

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]
