-
List the require packages in the file
requirements.txt
-
Build the docker image:
docker build -t mycondaimage .
(use the name of your choice instead of mycondaimage) -
Run :
docker run mycondaimage python3 --version
On github, an action is configured to automatically build and deploy the docker image. It can be downloaded with the following commands (remember to change the path with your name and project'name):
docker pull ghcr.io/arnaudceol/docker-conda-template:main
singularity pull docker://ghcr.io/arnaudceol/docker-conda-template:main