File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
question-service/question-service Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ services:
33 build :
44 context : ./collaboration-service/collaboration-service
55 image : lawruixi/collaboration-service:latest
6+ environment :
7+ - NODE_ENV=production
68 ports :
79 - " 3004:3004"
810 env_file :
@@ -12,6 +14,8 @@ services:
1214 build :
1315 context : ./matching-service/matching-service
1416 image : lawruixi/matching-service:latest
17+ environment :
18+ - NODE_ENV=production
1519 ports :
1620 - " 4001:4001"
1721 env_file :
@@ -21,6 +25,8 @@ services:
2125 build :
2226 context : ./question-service/question-service
2327 image : lawruixi/question-service:latest
28+ environment :
29+ - NODE_ENV=production
2430 ports :
2531 - " 5050:5050"
2632 env_file :
@@ -30,6 +36,8 @@ services:
3036 build :
3137 context : ./user-service/user-service
3238 image : lawruixi/user-service:latest
39+ environment :
40+ - NODE_ENV=production
3341 ports :
3442 - " 3001:3001"
3543 env_file :
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ USER node
3232COPY . .
3333
3434# Expose the port that the application listens on.
35- EXPOSE 5050
35+ EXPOSE 8080
3636
3737# Run the application.
3838CMD npm start
You can’t perform that action at this time.
0 commit comments