Page tree
Skip to end of metadata
Go to start of metadata


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
  • No labels
Write a comment…