Add Dockerfile

This commit is contained in:
MrMeeb 2024-05-06 11:49:41 +00:00
parent f3e925a018
commit d7bef43b9c

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" ]