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
|
||||
*.zip
|
||||
\.vagrant
|
||||
tmp*
|
||||
|
|
17
Dockerfile
17
Dockerfile
|
@ -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
|
||||
apt-get install -y make
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN make prepare
|
||||
CMD make watch
|
||||
|
|
Loading…
Reference in a new issue