A Dockerfile for Beego
This is an onbuild image for GoLang Beego framework. The image will start Beego during launch.
- Clone this Dockerfile and place it into your Beego project folder.
docker build -t <iamge_name_and_tag> --build-arg app_name=<beego_app_name> --build-arg http_port=<http_port> --build-arg https_port=<https_port> .
- `docker run -p <target_port>:<container_port> --name <container_tag> <iamge_name_and_tag>``