HarshCasper / HarshCasper/good-first-issues
Add a Dockerfile for the React App
Open
Contribution:CI
good first issue
Issue:Assigned
PSoC'21
Type:Enhancement
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
## 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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.