Bootstrap: docker
From: python:3.10-bullseye
Stage: build

%setup
    # Copy project directory into container
    cp -R . ${SINGULARITY_ROOTFS}/aind-metadata-mapper

%post
    cd ${SINGULARITY_ROOTFS}/aind-metadata-mapper
    pip install . --no-cache-dir
    rm -rf ${SINGULARITY_ROOTFS}/aind-metadata-mapper
