https://github.com/abdulawalarif/go-web-docker
GO app with containerization with docker
https://github.com/abdulawalarif/go-web-docker
docker golang
Last synced: 3 months ago
JSON representation
GO app with containerization with docker
- Host: GitHub
- URL: https://github.com/abdulawalarif/go-web-docker
- Owner: abdulawalarif
- Created: 2025-03-18T06:35:25.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-18T11:26:37.000Z (3 months ago)
- Last Synced: 2025-03-18T11:31:47.833Z (3 months ago)
- Topics: docker, golang
- Language: Dockerfile
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dockerized GO app
## Commands for building images
1. To Build image
`docker build --rm -t go-docker:alpha .`1.1. For reducing size of the image with working docker instruction
`docker build --rm -t go-docker-multistage:beta .`2. Listing the images in the machine ` docker image ls`
3. Runnin an image `docker run -d -p 8080:8081 --name go-docker-app go-docker:alpha`