Working iris

This commit is contained in:
2026-02-13 13:12:33 +01:00
parent 108004e959
commit 0ee74cbcb8
16 changed files with 429 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
FROM debian:13.3
# Install system dependencies
RUN apt-get update && apt-get install -y wget libgl1 libglib2.0-0 patchelf
# Copy project files
COPY ./src /src
# Create a non-root user
RUN useradd -m student
RUN chown -R student:student /src
USER student
# Install uv
RUN wget -qO- https://astral.sh/uv/install.sh | sh
ENV PATH="/home/student/.local/bin:$PATH"
# Create main env for Jupyter Notebook
WORKDIR /src
RUN uv venv --python 3.11
ENV PATH="/src/.venv/bin:$PATH"
RUN uv pip install notebook open-iris
RUN patchelf --clear-execstack /src/.venv/lib/python3.11/site-packages/onnxruntime/capi/*.so
# Launch Jupyter Notebook
EXPOSE 8888
CMD ["python", "-m", "jupyter", "notebook", "--ip=0.0.0.0", "--port=8888", "--no-browser", "--IdentityProvider.token=''"]