FROM node:8
MAINTAINER Fedor Amosov "amosov-f@yandex-team.ru"

WORKDIR /usr/src/app

COPY . /usr/src/app

RUN npm install
RUN npm run build

RUN apt-get update
RUN apt-get install -y nano

EXPOSE 8080

CMD [ "npm", "start" ]
