HarshCasper / good-first-issues

Bringing Good First Issues to all new Open-Source Contributors [PClub Summer of Code '21]
good-first-issues.vercel.app
MIT License
12 stars 11 forks source link

Add a Dockerfile for the React App #9

Open HarshCasper opened 3 years ago

HarshCasper commented 3 years ago

Description

Dockerize the React App. You can specify a Dockerfile in the client directory, and add the following:

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.

saimanoharhm commented 3 years ago

@HarshCasper I would like to work on. Please assign it to me.

upasanabhatia7387 commented 1 year ago

Hi @HarshCasper I would like to work on this. Could you please assign this issue to me? Thank You!