Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evzpav/dokku-go-dockerfile
Example on how to deploy golang app to Dokku using dockerfile
https://github.com/evzpav/dokku-go-dockerfile
docker dockerfile dokku golang
Last synced: about 2 months ago
JSON representation
Example on how to deploy golang app to Dokku using dockerfile
- Host: GitHub
- URL: https://github.com/evzpav/dokku-go-dockerfile
- Owner: evzpav
- Created: 2019-05-17T15:41:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-14T02:41:22.000Z (over 5 years ago)
- Last Synced: 2024-08-01T13:27:52.280Z (5 months ago)
- Topics: docker, dockerfile, dokku, golang
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dokku Go Dockerfile
Example of Deployment of Golang project via Dokku with Dockerfile. Much faster and controlled deployment
## Dokku will identify and create container for it. Note that env var PORT (server port) is set by Dokku automatically.
### Run locally:
```bash
docker build -t dokku-go-dockerfile .
docker run -e PORT=4000 -d --rm --name dokku-go-dockerfile -p 9090:4000 dokku-go-dockerfile
#To Test:
curl localhost:9090
#Welcome!
```