No need to clone the proj, to download a go compiler or smth else. No even need to build the image on ur own - just take the pre-built one! Oh yeah, it's based on the scratch image so that's why it's 146% not bloat - just the runtime itself, so it will take as less disk space as possible (9.35MB total)
There are 2 ways to declare them, but we'll got with copypasting the original .env.example file into any directory with whatever name ya wish. Don't forget to set proper values for them!!!
Example of such a command. Set right --env-file
and -p
params (inner port is 8000 and isn't meant to be changed anyhow - who cares, it's internal anyway)
docker run -d --env-file ~/gotcha/.gotcha.env -p 1337:8000 --name gotcha thedominux/gotcha