Invenio instance working with TUGraz theme module

This commit is contained in:
2025-04-25 11:27:00 +01:00
parent 3fd09bd418
commit cf82bb9ed3
3 changed files with 15 additions and 1 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM ghcr.io/front-matter/invenio-rdm-starter:latest
RUN /opt/invenio/.venv/bin/python -m ensurepip
RUN /opt/invenio/.venv/bin/python -m pip install invenio-theme-tugraz invenio-records-lom
RUN /opt/invenio/.venv/bin/python -m pip uninstall -y pip
RUN invenio collect
RUN apt install -y npm
RUN invenio webpack buildall
RUN apt remove -y npm

View File

@@ -16,7 +16,8 @@ services:
labels:
- "io.containers.autoupdate=registry"
invenio-rdm:
image: ghcr.io/front-matter/invenio-rdm-starter:latest
build:
context: .
networks:
- invenio-network
ports:

View File

@@ -87,6 +87,10 @@ SEND_FILE_MAX_AGE_DEFAULT = 300
# Set via env variable
# SECRET_KEY=
# App theming settings
EXTENSIONS = ["invenio_theme_tugraz"]
APP_THEME = ["invenio-theme-tugraz", "semantic-ui"]
# Since HAProxy and Nginx route all requests no matter the host header
# provided, the allowed hosts variable is set to localhost. In production it
# should be set to the correct host and it is strongly recommended to only