opendatacube / datacube-explorer

Web-based exploration of Open Data Cube collections
Apache License 2.0
54 stars 31 forks source link

Dockerfile: clean /code directory #540

Closed pjonsson closed 7 months ago

pjonsson commented 8 months ago

The /code directory in the image is 38M because it contains .git, .docker, and various other configuration files.

Clean out the directory completely to make the image slightly smaller.

pjonsson commented 8 months ago

Readthedocs failure fixed in #541

pjonsson commented 7 months ago

@omad I don't understand how things are wired up for the tests, but it's possible this change broke the integration tests by removing /code/.docker/create_db.sh. Sorry for that.

The integration tests seem to already be broken on Werkzeug version though, so I have tried to fix that in #542.