alan-turing-institute / DTBase

A starting point from which digital twins can be developed.
MIT License
11 stars 4 forks source link

Simplify dockerfiles #253

Closed mhauru closed 6 months ago

mhauru commented 6 months ago

I didn't do the splitting into optional dependencies yet, but I simplified the dockerfiles and structured the list of dependencies in a more informative way. Before this the Docker images were 1.5G each, now they are 1.3G for the backend and 1.1G for the frontend. For context, if I leave out all Python dependencies the backend image becomes 0.4G, so that's a lower bound on how far we can push this.

Closes #227

codecov-commenter commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.85%. Comparing base (298e014) to head (b97bf5f).

:exclamation: Current head b97bf5f differs from pull request most recent head 6208ce4. Consider uploading reports for the commit 6208ce4 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #253 +/- ## ========================================== + Coverage 90.83% 90.85% +0.01% ========================================== Files 78 78 Lines 5674 5674 ========================================== + Hits 5154 5155 +1 + Misses 520 519 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.