Fixes variuos issues in the dockerfile