1
0
mirror of https://github.com/beego/bee.git synced 2024-11-21 23:50:54 +00:00

Merge pull request #790 from beego/develop

Merge develop
This commit is contained in:
Ming Deng 2021-06-17 23:09:56 +08:00 committed by GitHub
commit 4b4497c015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,9 +102,7 @@ func dockerizeApp(cmd *commands.Command, args []string) int {
// In case of multiple ports to expose inside the container,
// replace all the commas with whitespaces.
// See the verb EXPOSE in the Docker documentation.
if strings.Contains(expose, ",") {
expose = strings.Replace(expose, ",", " ", -1)
}
expose = strings.Replace(expose, ",", " ", -1)
_, entrypoint := path.Split(appdir)
dockerfile := Dockerfile{