react-online/Dockerfile

8 lines
108 B
Docker

FROM node:alpine
WORKDIR /data
RUN npm i -g serve
CMD ["serve", "-p", "9000"]
EXPOSE 9000
VOLUME ["/data"]