Improve dockerfile
This commit is contained in:
parent
761df17f89
commit
391d5f2add
2 changed files with 8 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -8,3 +8,4 @@ node_modules
|
||||||
*.pdf
|
*.pdf
|
||||||
*.zip
|
*.zip
|
||||||
\.vagrant
|
\.vagrant
|
||||||
|
tmp*
|
||||||
|
|
15
Dockerfile
15
Dockerfile
|
@ -1,13 +1,10 @@
|
||||||
FROM debian:jessie
|
FROM node:buster-slim
|
||||||
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
|
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 && \
|
RUN apt-get update && \
|
||||||
apt-get install -y make
|
apt-get install -y make
|
||||||
WORKDIR /hop
|
|
||||||
RUN make install
|
COPY . /app
|
||||||
CMD make
|
WORKDIR /app
|
||||||
|
RUN make prepare
|
||||||
|
CMD make watch
|
||||||
|
|
Loading…
Reference in a new issue