diff --git a/.gitignore b/.gitignore index fdd5269..8b3072d 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ node_modules *.pdf *.zip \.vagrant +tmp* diff --git a/Dockerfile b/Dockerfile index bd82c71..401483a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,10 @@ -FROM debian:jessie +FROM node:buster-slim MAINTAINER Glenn ROLLAND -RUN mkdir -p /hop -ADD slides /hop/slides -ADD bin /hop/bin -ADD themes /home/themes -ADD Makefile /home/Makefile RUN apt-get update && \ - apt-get install -y make -WORKDIR /hop -RUN make install -CMD make + apt-get install -y make + +COPY . /app +WORKDIR /app +RUN make prepare +CMD make watch