<!-- TITLE: Dockerfile React Common --> <!-- SUBTITLE: A quick summary of Dockerfile React Common --> # Dockerfile for React App with SSR ```Dockerfile FROM node:11-alpine RUN mkdir /opt/app WORKDIR /opt/app RUN apk add curl ADD package*.json yarn.lock .babelrc /opt/app/ RUN yarn install COPY . /opt/app/ RUN yarn build EXPOSE 3000 CMD ["yarn", "start"] ```