webfinger-test/Dockerfile

15 lines
354 B
Docker
Raw Normal View History

2023-09-07 18:48:04 +05:30
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"]