golang-cafe / job-board

Golang Cafe - Go job board with no recruiters and clear salary ranges
https://golang.cafe
BSD 3-Clause "New" or "Revised" License
208 stars 50 forks source link

[DX] dockerize Go app into Dockerfile for testing (Dockerfile.local) and production (Dockerfile) #45

Open ghost opened 2 years ago

ghost commented 2 years ago

Right now the Go server runs without Docker. The app is deployed on Digital Ocean App Platform which allows both Go and Docker as well as many other runtimes. To make the project portable and to make it easier to run it locally, it would be beneficial to Dockerize the app. We should have a prod and a test/local Dockerfile.

Here is an example of Dockerfile from DigitalOcean https://github.com/digitalocean/sample-dockerfile/blob/main/Dockerfile

ghost commented 2 years ago

This will also allows us to get rid of the Procfile I think

ghost commented 2 years ago

https://docs.digitalocean.com/products/app-platform/languages-frameworks/go/

Shubham8287 commented 1 year ago

looks like a go-to task, picking this.

algora-pbc[bot] commented 1 year ago

💡 Shubham8287 submitted a pull request that claims the bounty. You can visit your org dashboard to reward.

ghost commented 1 year ago

de-prioritising this for now