diff --git a/Singularity b/Singularity
index 71eeed47d555786eae42f4fcc458c88ad178fb64..75af9893a37eebf4446d82d0e438067a62850c48 100644
--- a/Singularity
+++ b/Singularity
@@ -18,7 +18,7 @@ curl https://gitlab.pasteur.fr/tru/miniconda3-python310-pytorch-cuda11.7/-/raw/m
 	conda list --explicit > /conda-list--explicit.yml && \
 	conda clean --all --yes
 
-%post
+%runscript
 eval "$(conda shell.bash hook)"  && \
 conda activate py310-pytorch-1.13.1 && \
 "$@"