diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6b53f84 --- /dev/null +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yaml b/docker-compose.yaml index 62da025..809655c 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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: diff --git a/invenio.cfg b/invenio.cfg index efe3b69..2b08bdf 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -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