Add Dockerfile

This commit is contained in:
MrMeeb 2024-05-06 11:49:41 +00:00
parent 868e18863b
commit 7c69425100
Signed by: MrMeeb
SSH Key Fingerprint: SHA256:9ii6CJ11ZIZeIhBYDDUsxf/W0cwSp5Iqzb10Iydh3a4

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM python:3.13.0a6-alpine3.19
RUN apk add curl
ENV ISSUER_URL=
EXPOSE 8000
COPY webfinger.py /webfinger.py
HEALTHCHECK --interval=30s --timeout=15s --start-period=30s --retries=3 CMD curl -f http://localhost:8000/healthcheck || exit 1
CMD [ "python", "-u", "/webfinger.py" ]