Uses a callback to return response
Reorganises Dockerfile