Add Dockerfile
This commit is contained in:
parent
868e18863b
commit
7c69425100
13
Dockerfile
Normal file
13
Dockerfile
Normal 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" ]
|
Loading…
x
Reference in New Issue
Block a user