Matt Clarke
03/14/2023, 1:52 AMWORKDIR /opt/dagster/app
COPY . /opt/dagster/app
which copies the contents of the repo in to the docker image. If this is used alongside the github actions for building/deploying, it results in the actions-repo
path being included in the dockerfile (verified using dive).
In my case, adding that folder to .dockerignore
knocked about 90MB off the total image size.Matt Clarke
03/14/2023, 10:14 AMjohann
03/14/2023, 5:49 PM