File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ COPY . .
10
10
11
11
EXPOSE 3000
12
12
13
- CMD ["npm" , "start " ]
13
+ CMD ["npm" , "run" , "dev " ]
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ COPY . .
10
10
11
11
EXPOSE 3001
12
12
13
- CMD ["npm" , "start " ]
13
+ CMD ["npm" , "run" , "dev " ]
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ services:
2
2
user-service :
3
3
image : peerprep/user-service
4
4
build : ./backend/user-service
5
+ environment :
6
+ - CHOKIDAR_USEPOLLING=true
5
7
env_file : ./backend/user-service/.env
6
8
ports :
7
9
- 3001:3001
@@ -17,6 +19,8 @@ services:
17
19
question-service :
18
20
image : peerprep/question-service
19
21
build : ./backend/question-service
22
+ environment :
23
+ - CHOKIDAR_USEPOLLING=true
20
24
env_file : ./backend/question-service/.env
21
25
ports :
22
26
- 3000:3000
@@ -33,6 +37,8 @@ services:
33
37
frontend :
34
38
image : peerprep/frontend
35
39
build : ./frontend
40
+ environment :
41
+ - CHOKIDAR_USEPOLLING=true
36
42
ports :
37
43
- 5173:5173
38
44
depends_on :
You can’t perform that action at this time.
0 commit comments