Add Dockerfile
This commit is contained in:
parent
f3e925a018
commit
d7bef43b9c
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