Dockerfile 152 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
FROM node:latest

RUN mkdir /react
RUN mkdir /result

VOLUME /result

WORKDIR /react

CMD npm install && npm run build && cp -R /react/build/* /result/