Fixing bugs in dockerfile