deislabs / bindle

Bindle: Object Storage for Collections
Apache License 2.0
263 stars 37 forks source link

Docker: Reduce build context size #348

Open vdice opened 1 year ago

vdice commented 1 year ago

As of https://github.com/deislabs/bindle/pull/343 we have a Dockerfile for bindle.

Currently it copies everything into the image for building, which results in a large build context. Let's see if we can reduce to copying in only the source code needed and ignoring (eg .Dockerignore) the rest.