mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 13:41:56 +00:00
Another attempt to fix plugin
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user