mirror of
https://github.com/beego/bee.git
synced 2025-02-19 04:17:03 +00:00

- gedep is deprecated. (https://github.com/tools/godep) thus Dockerfile not building due to the following error: => ERROR [2/6] RUN go get github.com/tools/godep ... 'go get' is no longer supported outside a module. main changes in this commit - Changed outdated Dockerfile in dockerBuildTemplate - hardcoding baseimage version "golang:1.20.2" because this version is latest (At the time of this commit) and working - used Dockerfile examples from official golang image on docker.com (https://docs.docker.com/language/golang/build-images/ & https://hub.docker.com/_/golang) - Also added new feature to generate docker-compose.yaml, which uses the generated Dockerfile as a build - docker-compose up -d works with Docker Compose version v2.17.2 - changed and tested expose ports - working for Dockerfile and docker-compose.yaml