Improve dockerfile

This commit is contained in:
Glenn Y. Rolland 2020-04-19 12:28:05 +02:00
parent 761df17f89
commit 391d5f2add
2 changed files with 8 additions and 10 deletions

1
.gitignore vendored
View file

@ -8,3 +8,4 @@ node_modules
*.pdf
*.zip
\.vagrant
tmp*

View file

@ -1,13 +1,10 @@
FROM debian:jessie
FROM node:buster-slim
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
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
COPY . /app
WORKDIR /app
RUN make prepare
CMD make watch