mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Attempt to fix plugin installation
This commit is contained in:
@@ -48,9 +48,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- uploaded_data:/opt/invenio/var/instance/data
|
- uploaded_data:/opt/invenio/var/instance/data
|
||||||
- archived_data:/opt/invenio/var/instance/archive
|
- archived_data:/opt/invenio/var/instance/archive
|
||||||
- ./invenio/assets:/opt/invenio/var/instance/static/custom_assets # Add static assets for theming
|
|
||||||
- ./invenio/plugin:/opt/invenio/var/instance/plugin # Add plugin for customisations
|
|
||||||
- ./invenio/invenio.cfg:/opt/invenio/var/instance/invenio.cfg # Override the config with our custom one
|
|
||||||
environment:
|
environment:
|
||||||
# Production mode
|
# Production mode
|
||||||
- INVENIO_ENV=production
|
- INVENIO_ENV=production
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
FROM ghcr.io/front-matter/invenio-rdm-starter:v12.0.13.4
|
FROM ghcr.io/front-matter/invenio-rdm-starter:v12.0.13.4
|
||||||
|
|
||||||
|
# Copy config and assets
|
||||||
|
COPY invenio.cfg /opt/invenio/var/instance/invenio.cfg
|
||||||
|
COPY assets /opt/invenio/var/instance/static/custom_assets
|
||||||
|
|
||||||
|
# Add the customisation plugin
|
||||||
RUN /opt/invenio/.venv/bin/python -m ensurepip
|
RUN /opt/invenio/.venv/bin/python -m ensurepip
|
||||||
|
COPY plugin /opt/invenio/var/instance/static/plugin
|
||||||
RUN /opt/invenio/.venv/bin/python -m pip install /opt/invenio/var/instance/static/plugin
|
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
|
RUN /opt/invenio/.venv/bin/python -m pip uninstall pip
|
||||||
|
|||||||
Reference in New Issue
Block a user