slides/Dockerfile
Ameya Shenoy 49f09ba335
feat: add image locally
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2021-04-09 02:38:29 +05:30

21 lines
463 B
Docker

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
COPY 0001-intro/index.html /reveal.js-4.1.0
COPY 0001-intro/images /reveal.js-4.1.0/images
# ========== END OF BUILDER ========== #
FROM nginx:alpine
MAINTAINER "Ameya Shenoy <shenoy.ameya@gmail.com>"
COPY --from=builder /reveal.js-4.1.0 /usr/share/nginx/html/0001-intro