Skip to content

Instantly share code, notes, and snippets.

View red-star25's full-sized avatar
🎯
Learning

Dhruv Nakum red-star25

🎯
Learning
View GitHub Profile
@seintun
seintun / gist:4c0523c478012b3a99e5a536447ec1d4
Last active February 3, 2025 06:08
Deploy Go 🐿 with Docker 🐳 & AWS

1. 🐳Install Docker on your Mac

  • Official site: https://docs.docker.com
  • Create a Docker Hub account
  • A Docker whale will appear on status bar and click to login with your username password

2. 🐳Create Dockerfile

  • cd inside your Go Project that has RESTful API
$ cd myproject && touch Dockerfile
// Paste the following snippets into Dockerfile