FROM registry.yandex.net/data-ui/node-nginx:14r1.1

CMD npm start
WORKDIR /opt/app/

COPY package.json package-lock.json /opt/app/
RUN npm install

COPY app.js /opt/app/app.js
COPY bin /opt/app/bin
COPY public /opt/app/public
COPY routes /opt/app/routes

ARG APP_VERSION=develop
ENV APP_VERSION ${APP_VERSION}
