fix: dev setup, move to npm start
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
This commit is contained in:
parent
09f4569c75
commit
a3a396e706
2 changed files with 8 additions and 6 deletions
|
|
@ -2,6 +2,9 @@ FROM node:15.14.0-alpine3.12
|
|||
|
||||
RUN set -ex \
|
||||
&& apk add --no-cache \
|
||||
g++ \
|
||||
make \
|
||||
python2 \
|
||||
unzip \
|
||||
wget
|
||||
|
||||
|
|
@ -9,11 +12,10 @@ RUN set -ex \
|
|||
&& wget https://github.com/hakimel/reveal.js/archive/refs/tags/4.1.0.zip \
|
||||
&& unzip 4.1.0.zip
|
||||
|
||||
RUN set -ex \
|
||||
&& npm i -g \
|
||||
live-server
|
||||
|
||||
WORKDIR /reveal.js-4.1.0
|
||||
|
||||
ENTRYPOINT live-server
|
||||
RUN set -ex \
|
||||
&& npm i
|
||||
|
||||
ENTRYPOINT npm start
|
||||
|
||||
|
|
|
|||
|
|
@ -12,5 +12,5 @@ services:
|
|||
- ./0001-intro/index.html:/reveal.js-4.1.0/index.html
|
||||
- ./0001-intro/images:/reveal.js-4.1.0/images
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 8000:8000
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue