to prepare (dockerfile psuedocode)


docker build -t react-app


FROM centos:latest
RUN yum update
RUN yum install npm
RUN yum install haproxy
CMD ["/bin/bash"]
RUN mkdir /apps
RUN mkdir /apps/react-app
WORKDIR /apps/react-app



thenĀ 


docker run -p 3006:3006 -v $(pwd):/apps/react-app --name react-app image_name command_to_run