Update Dockerfile
Small optimisations
Add `getApi` function to simplify code base a bit
You can also use your local clone with git send-email.
This is the frontend to the backend