mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-07 23:02:12 +02:00
e2031dcfe6
modify dockerfile modify the build process
6 lines
219 B
Bash
6 lines
219 B
Bash
cd ./app/message || exit
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/message ./...
|
|
cd ../../
|
|
cd ./app/user || exit
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/user ./...
|
|
docker-compose up --build |