Open miquelduranfrigola opened 1 month ago
Hey @miquelduranfrigola sounds like a good approach! Although this issue should have technically been created as a Task instead of Feature Request (those are for users and contributors)
Hi @DhanshreeA
I have added a .dockerignore
file in this repository: https://github.com/ersilia-os/eos3mk2
I can take this up this week.
Hi @DhanshreeA !
This task is On Hold. Please update the status/priority if it is something being actively worked on
Include a
.dockerignore
file in the eos-templateFor some models such as eos3ujl it would be convenient to have files that are not strictly necessary to serve and run the model. For example, in that model, we had to fit an extra imputer and we would like to keep the data used for that fitting, although this data is no longer necessary once the imputer is stored as a
.joblib
file.It would therefore be very convenient to have the following:
To allow for this to happen in CI/CD, I suggest the following approach:
.dockerignore
file that functions exactly like a.gitignore
file. That is, paths relative to the root of the directory can be specified there (with wildcard character*
allowed)..dockerignore
file.@DhanshreeA please let me know if this sounds like a good approach.
Subtasks would be:
.dockerignore
file. By default, for example, thatdockerignore
file can ignore theREADME
(won't make a huge difference, of course) and the.git
folder of the model (in case is incorporated in the image - I am not sure).dockerignore
file..dockerignore
file in our GitBook.