FROM python LABEL org.opencontainers.image.source https://git.batsense.net/ForgeFlux/webfinger-test RUN useradd -ms /bin/bash -u 1001 webfinger RUN apt-get update && apt-get install -y ca-certificates git RUN pip3 install requests USER webfinger WORKDIR /home/webfinger run mkdir app/ WORKDIR /home/webfinger/app/ COPY . . CMD [ "python3", "run.py"]