From 5390128075af0c36c2426e5d584eb2b6aaf4bea0 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sat, 11 Jan 2025 00:10:35 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0ddf250..12341f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \ apt-get install -y nodejs && apt-get clean # Install uv and activate virtualenv -COPY --from=ghcr.io/astral-sh/uv:0.4.15 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ RUN uv venv /opt/invenio/.venv # Use the virtual environment automatically ENV VIRTUAL_ENV=/opt/invenio/.venv \ @@ -83,4 +83,4 @@ RUN adduser invenio --uid ${INVENIO_USER_ID} --gid 0 --no-create-home --disabled # USER invenio EXPOSE 5000 -CMD ["gunicorn", "invenio_app.wsgi:application", "--bind", "0.0.0.0:5000", "--workers", "4"] +CMD ["gunicorn", "invenio_app.wsgi:application", "--bind", "0.0.0.0:5000", "--workers", "4", "--access-logfile", "-", "--error-logfile", "-"]