File tree Expand file tree Collapse file tree 4 files changed +41
-4
lines changed Expand file tree Collapse file tree 4 files changed +41
-4
lines changed Original file line number Diff line number Diff line change 1+ FROM node:16-alpine
2+
3+ WORKDIR /app
4+
5+ RUN apk update && apk add bash git mc
6+
7+ COPY package*.json ./
8+
9+ RUN npm i --legacy-peer-deps
10+
11+ COPY ENV.md .env
12+
13+ EXPOSE 3000
Original file line number Diff line number Diff line change @@ -25,3 +25,10 @@ REACT_APP_BASE_URL=https://<your-backend-url.com>/api/
2525standard from https://github.com/standard/eslint-config-standard
2626\
2727]
28+
29+ ### Docker / docker-compose
30+ To run project please run the next commands after cloning repo:
31+ ```
32+ docker-compose build
33+ docker-compose up
34+ ```
Original file line number Diff line number Diff line change 1+ version : ' 3'
2+ services :
3+ app :
4+ build :
5+ context : .
6+ dockerfile : Dockerfile
7+ image : react-crm:v0
8+ volumes :
9+ - .:/app
10+ - /app/node_modules
11+ stdin_open : true
12+ tty : true
13+ ports :
14+ - 3000:3000
15+ command : npm start
16+ environment :
17+ - CHOKIDAR_USEPOLLING=true
Original file line number Diff line number Diff line change 55 "dependencies" : {
66 "@emotion/react" : " ^11.10.0" ,
77 "@emotion/styled" : " ^11.10.0" ,
8- "@material-ui/icons" : " ^ 4.11.3" ,
9- "@mui/icons-material" : " ^ 5.8.4" ,
10- "@mui/material" : " ^ 5.10.0" ,
11- "@mui/styles" : " ^ 5.9.3" ,
8+ "@material-ui/icons" : " 4.11.3" ,
9+ "@mui/icons-material" : " 5.8.4" ,
10+ "@mui/material" : " 5.10.0" ,
11+ "@mui/styles" : " 5.9.3" ,
1212 "@testing-library/jest-dom" : " ^5.16.5" ,
1313 "@testing-library/react" : " ^13.3.0" ,
1414 "@testing-library/user-event" : " ^14.4.3" ,
You can’t perform that action at this time.
0 commit comments