FROM node:latest

RUN npm install -g @sern/cli

WORKDIR /app

COPY package.json ./

RUN npm install

COPY . .

RUN sern build

CMD node .
