diff --git a/invenio/Dockerfile b/invenio/Dockerfile index ac12f1e..e2fa151 100644 --- a/invenio/Dockerfile +++ b/invenio/Dockerfile @@ -1,5 +1,5 @@ FROM ghcr.io/front-matter/invenio-rdm-starter:v12.0.13.4 RUN /opt/invenio/.venv/bin/python -m ensurepip -RUN /opt/invenio/.venv/bin/python -m pip install -e /opt/invenio/var/instance/static/plugin -RUN /opt/invenio/.venv/bin/python -m pip uninstall -e pip +RUN /opt/invenio/.venv/bin/python -m pip install /opt/invenio/var/instance/static/plugin +RUN /opt/invenio/.venv/bin/python -m pip uninstall pip diff --git a/invenio/invenio.cfg b/invenio/invenio.cfg index 95387de..75e376b 100644 --- a/invenio/invenio.cfg +++ b/invenio/invenio.cfg @@ -70,6 +70,9 @@ def _(x): # needed to avoid start time failure with lazy strings return x +EXTENSIONS = ["custom_invenio_plugin"] + + RATELIMIT_ENABLED = True RATELIMIT_AUTHENTICATED_USER = "50000 per hour;900 per minute" RATELIMIT_GUEST_USER = "30000 per hour;500 per minute"