FROM mcr.microsoft.com/devcontainers/python:1-3.10-bullseye RUN pip install --upgrade pip RUN pip3 install --user numpy==1.25 fairlearn==0.9.0 plotly==5.24.1 nbformat==5.10.4 aif360[inFairness]==0.6.1 ipykernel==6.29.5 BlackBoxAuditing==0.1.54 cvxpy==1.6.0 lime==0.2.0.1 dice-ml==0.11 jupyterlab notebook RUN apt update -y RUN apt-get install -y r-base-dev WORKDIR "/root/.local/lib/python3.10/site-packages/aif360/data/raw/meps" RUN echo 'y' | Rscript generate_data.R WORKDIR "/root/" EXPOSE 8888 CMD ["/root/.local/bin/jupyter", "lab", "--ip=0.0.0.0", "--port=8888", "--no-browser", "--allow-root", "--NotebookApp.token=fairness"]