We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0ae3f1 commit fb50e60Copy full SHA for fb50e60
1 file changed
docker-compose.yml
@@ -1,22 +1,25 @@
1
services:
2
frontend:
3
- image: node:18-alpine
4
- command: sh -c "npm install && npm run dev"
+ build: frontend
+ image: frontend-image
5
ports:
6
- 8080:8080
7
- working_dir: /geochess/frontend
8
# volumes:
9
# - ./:/frontend
+ depends_on:
10
+ - backend
11
+ # network_mode: host
12
13
backend:
- command: sh -c "npm install && npm run start"
14
+ build: backend
15
+ image: backend-image
16
17
- 8000:8000
- working_dir: /geochess/backend
- # volumes:
18
- # -
19
-
+ # expose:
+ # - 8000
20
21
22
+ # volumes:
23
+ # -
24
-# todo-mysql-data:
25
+# todo-mysql-data:
0 commit comments