# This is nrao:notification FROM cache:tmp # Build arg that sets Workspace version; sets to "unknown-version" if no build arg is given ARG WS_VERSION=unknown-version ENV WS_VERSION=${WS_VERSION} USER root RUN apt update -y && apt install -y curl USER vlapipe # Get workflow code into the image WORKDIR /code COPY --chown=vlapipe:vlapipe ./services/notification ./ # Python library installation WORKDIR /code/ RUN SETUPTOOLS_SCM_PRETEND_VERSION=${WS_VERSION} python setup.py develop --user # Set Capo ARG capo_env=docker ENV CAPO_PROFILE $capo_env CMD ["pserve", "--reload", "dev.ini"]