mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2026-08-16 16:32:50 +01:00
@@ -13,15 +13,13 @@ FROM registry.cern.ch/inveniosoftware/almalinux:1
|
||||
ENV UV_PYTHON=3.12
|
||||
ENV PIPENV_VENV_IN_PROJECT=1
|
||||
|
||||
COPY site/setup.py site/setup.cfg site/pyproject.toml ./site/
|
||||
COPY site ./site
|
||||
COPY Pipfile Pipfile.lock ./
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
||||
RUN uv python install ${UV_PYTHON} && \
|
||||
pipenv install --deploy --python $(uv python find ${UV_PYTHON}) && \
|
||||
pipenv run pip install "setuptools<70.0.0"
|
||||
|
||||
COPY site ./site
|
||||
|
||||
COPY ./docker/uwsgi/ ${INVENIO_INSTANCE_PATH}
|
||||
COPY ./invenio.cfg ${INVENIO_INSTANCE_PATH}
|
||||
COPY ./templates/ ${INVENIO_INSTANCE_PATH}/templates/
|
||||
|
||||
Reference in New Issue
Block a user