move upload out of docker