first working end-to-end version
optimize Dockerfile