fix: dev setup, move to npm start

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
This commit is contained in:
Ameya Shenoy 2021-04-16 03:50:06 +05:30
parent 09f4569c75
commit a3a396e706
Signed by: codingcoffee
GPG key ID: F7D58AAC5DACF8D3
2 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -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