FROM neo4j:2025.03.0
ENV NEO4J_AUTH=none
ENV NEO4J_client_allow__telemetry=false

RUN apt-get -qq update -y &&  \
    apt-get -qq install -y curl unzip
RUN curl -o ./ml.zip -L https://files.grouplens.org/datasets/movielens/ml-latest-small.zip
RUN unzip -j ./ml.zip -d /var/lib/neo4j/import/
RUN apt-get -qq remove --purge -y curl unzip && \
    apt-get -qq autoremove --purge -y
