FROM node:current-alpine
WORKDIR /code
ADD . /code
RUN yarn && yarn build
CMD [ "yarn", "run", "http-server", "build/" ]
EXPOSE 8080