Split up tasks, added entrypoint to Dockerfile. All works now!