FROM alpine as builder RUN set -ex \ && apk add --no-cache \ unzip \ wget \ && wget https://github.com/hakimel/reveal.js/archive/refs/tags/4.1.0.zip \ && unzip 4.1.0.zip \ && cp -r /reveal.js-4.1.0 /reveal.js-4.1.0-1 \ && cp -r /reveal.js-4.1.0 /reveal.js-4.1.0-2 COPY 0001-intro/index.html /reveal.js-4.1.0-1 COPY 0001-intro/images /reveal.js-4.1.0-1/images COPY 0002-containers/index.html /reveal.js-4.1.0-2 COPY 0002-containers/images /reveal.js-4.1.0-2/images # ========== END OF BUILDER ========== # FROM nginx:alpine LABEL maintainer "Ameya Shenoy " COPY --from=builder /reveal.js-4.1.0-1 /usr/share/nginx/html/0001-intro COPY --from=builder /reveal.js-4.1.0-2 /usr/share/nginx/html/0002-containers