6 lines
96 B
Docker

FROM node:14.4.0-alpine3.10
USER root
WORKDIR /frontend
COPY . /frontend
RUN yarn
RUN yarn build