# Create a production build of the app
FROM node:16.9.1 as build
COPY . .

RUN npm install --silent
RUN npm run build
RUN npm install -g serve

EXPOSE 80
CMD serve -l 80 -s build
