This repository contains a Dockerfile for building a Docker image with ecoevolity and pycoevolity preinstalled.
Navigate to this directory and build the docker image:
cd path/to/ecoevolity-docker
sudo docker build --pull --no-cache -t phyletica/ecoevolity-docker:latest .The --pull flag forces docker to download the latest version of the base
image.
The --no-cache flag forces docker to do a fresh build (not reuse cached
layers).
To verify the image exists locally, run:
sudo docker image lsYou need to be logged in to docker hub to upload the new image. To authenticate your docker hub account, use the following command:
sudo docker loginOnce the new build is finished and you are logged in, use the following command to upload the image to the docker hub repo:
sudo docker push phyletica/ecoevolity-docker:latest