mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-24 03:46:37 +02:00
e2031dcfe6
modify dockerfile modify the build process
6 lines
203 B
Batchfile
6 lines
203 B
Batchfile
cd ./app/message
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/message ./...
|
|
cd ../../
|
|
cd ./app/user
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/user ./...
|
|
docker-compose up --build |