The hybrid quickstart <Dockerfile> has the follow...
# dagster-feedback
m
The hybrid quickstart Dockerfile has the following:
Copy code
WORKDIR /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.
Also, deleting the pip install cache made a significant difference to the final image
j
👍 thanks for the callout. We’ll take a look at slimming it down