This is basically a FEniCS/dolfinx https://github.com/FEniCS/dolfinx image with some additional python dependencies needed to run the full FEM/FD PYEE suite.
We recommend to install the standard dolfinx image (follow the instructions at github)
Then start interactive container 'docker run -ti --rm --name pyee_cont ep2lab/pyee:local' (or the name of the image)
Inside the container use pip3 to install additional dependencies (scipy, yaml, h5py, matplotlib)
In another terminal OUTSIDE container get your user and group ids, 'id -u' and 'id -g', write down this numbers
INSIDE image run this (Recommended so created files have user permissions):
addgroup --gid $GROUP_ID user
adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID user
Now save the running container as a new image for example ep2lab/pyee:local
docker commit pyee_cont ep2lab/pyee:local