Open HarshCasper opened 3 years ago
Dockerize the React App. You can specify a Dockerfile in the client directory, and add the following:
Dockerfile
client
FROM node:latest as build WORKDIR /usr/src/app COPY package.json /usr/src/app RUN npm install COPY . /usr/src/app CMD [ "npm" , "start" ]
Make sure to validate it on your own local machine that the Dockerfile works before pushing changes.
@HarshCasper I would like to work on. Please assign it to me.
Hi @HarshCasper I would like to work on this. Could you please assign this issue to me? Thank You!
Description
Dockerize the React App. You can specify a
Dockerfile
in theclient
directory, and add the following:Make sure to validate it on your own local machine that the Dockerfile works before pushing changes.