# Make the base docker variable
ARG IMAGE_NAME
FROM $IMAGE_NAME

# Get the license allowed to use
COPY pyproject.toml .

# Do the scan
RUN python3 -m pip install license_scanner
CMD python3 -m license_scanner -m whitelist