React in Docker

added by DotNetKicks
6/16/2021 1:39:22 PM

691 Views

This is a demo of how you can containerize a React application. .dockerignore Dockerfile # Stage 1 FROM node:12.18.2-alpine as build WORKDIR /app ENV PATH /app/node_modules/.bin:$PATH COPY package.json ./ COPY package-lock.json ./ RUN npm install COPY .


0 comments