Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore files from being included in the image #131

Open
lindhe opened this issue Dec 4, 2023 · 0 comments
Open

Ignore files from being included in the image #131

lindhe opened this issue Dec 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@lindhe
Copy link

lindhe commented Dec 4, 2023

Package version (if known): latest (currently sha256:2193abc2caec9bc599061d6a5874fd2d7d201f55d1673a545af0a0406690e8a4).

Describe the bug

It seems that there are a lot of unnecessary things included in the demo-inveniordm image. This increases the size of the image unnecessarily. I suggest we add a .dockerignore or .containerignore (depending on what container build system you use) that excludes all unnecessary files from the image.

Steps to Reproduce

$ docker run -it --rm ghcr.io/inveniosoftware/demo-inveniordm/demo-inveniordm:latest /usr/bin/ls -al /opt/invenio/src
app_data  docker                   docker-compose.yml  docker-services.yml  Pipfile       README.rst  templates     wipe_recreate.sh
assets    docker-compose.full.yml  Dockerfile          invenio.cfg          Pipfile.lock  static      translations
@lindhe lindhe added the bug Something isn't working label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant