I recently started exploring Pulumi and use it to ...
# general
s
I recently started exploring Pulumi and use it to deploy Docker images to a self-hosted VPS. For this I am using multiple
docker.Image
resources from within my monorepo that share the very same build context, just different Dockerfiles. The time it takes for the remote server to start building those images is pretty high and I have a feeling this is due to Pulumi uploading a larger context than anticipated. I did compose a
.dockerignore
to ensure the context is as small as possible but I am not sure how to verify that Pulumi respects this as the time for the supposed transfer is still fairly long. In a similar fashion I was curious whether the same context is being reused and only uploaded once or whether it is uploaded separately for each app which would be an immense waste of traffic. Any ways to verify this?