修改构建方式

This commit is contained in:
CattySteve 2024-05-01 16:57:43 +08:00
parent ccee907cad
commit 890d9629f5
No known key found for this signature in database
GPG Key ID: 12DE47937CA24CD3
3 changed files with 9 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
instance

@ -1 +1 @@
Subproject commit 7173bcfa75a7bb66ec2c7b713ff823b4e4993ed4
Subproject commit 0b99f237c779dbd885788fcb0b8b2a5e38d3c601

View File

@ -3,7 +3,13 @@ services:
build: ./GalaxyMusicHall_Backend
ports:
- 5001:5001
volumes:
- ./instance:/opt/galaxy/instance
galaxy_frontend:
build: ./GalaxyMusicHall_TSFrontend
ports:
- 5002:5002
- 5002:5002
links:
- galaxy_backend
depends_on:
- galaxy_backend