Setting up Neo4j locally

I had the same error, and I managed to use the solution of @pol_avec
1 - copy the docker-compose.yml in a local folder
2 - using terminal get to that folder and run : echo -e “FROM neo4j:5.4” > Dockerfile
3 - then run : docker compose up
4 - Restart Neo4J
…and you are good to go!