Set the webroot dir as default workdir.