FROM python:3.10-slim RUN apt-get update && apt-get install -y --no-install-recommends \ r-base && \ R --quiet -e "install.packages('Sleuth2')" && \ R --quiet -e "library(Sleuth2); write.csv(ex0221, file = \"data.csv\")" && \ apt-get purge -y r-base && \ apt-get autoremove -y && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* RUN pip install --upgrade pip RUN pip install jupyter RUN pip install notebook RUN pip install pandas RUN pip install numpy RUN pip install matplotlib RUN pip install scipy RUN pip install numpy CMD ["jupyter", "notebook", "--ip=0.0.0.0", "--allow-root", "--no-browser"]