13 lines
282 B
Docker
13 lines
282 B
Docker
FROM python:3.13.0b3-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" ] |