AK
FROM node:8
RUN npm install webpack -g
RUN npm install node-simplehttpserver -g
# npm install fails with sudo permissions, see https://github.com/elm-lang/elm-platform/issues/215
RUN yarn global add elm
WORKDIR /tmp
COPY . /tmp/
RUN npm install
RUN webpack
CMD npm start # node-simplehttpserver . 3100
EXPOSE 3100