Ao utilizar o docker-compose up -d acontece o erro:
panic: html/template: pattern matches no files: templates/*
goroutine 1 [running]: html/template.Must(...) /usr/local/go/src/html/template/template.go:374 github.com/gin-gonic/gin.(*Engine).LoadHTMLGlob(0xc000083380, {0xba57d4, 0xb}) /go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/gin.go:225 +0x2e6 github.com/guilhermeonrails/api-go-gin/routes.HandleRequest() /app/routes/route.go:10 +0x33 main.main() /app/main.go:10 +0x1c
Esse seria o código do docker-compose https://github.com/GiancarloHa/api_rest_gin_go_2-validacoes-e-testes/tree/main/compose
Dockerfile: https://github.com/GiancarloHa/api_rest_gin_go_2-validacoes-e-testes/blob/main/Dockerfile
Aplicação: https://github.com/GiancarloHa/api_rest_gin_go_2-validacoes-e-testes