generated from nathanwoodburn/python-webserver-template
fix: Add openssl to dockerfile
This commit is contained in:
@@ -2,7 +2,7 @@ FROM --platform=$BUILDPLATFORM python:3.13-alpine
|
|||||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||||
|
|
||||||
# Install curl for healthcheck
|
# Install curl for healthcheck
|
||||||
RUN apk add --no-cache curl
|
RUN apk add --no-cache curl openssl
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
2
tools.py
2
tools.py
@@ -161,7 +161,7 @@ def hip2(domain: str) -> str | None:
|
|||||||
# Catch all exceptions
|
# Catch all exceptions
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Hip2: Lookup failed with error: {e}", flush=True)
|
print(f"Hip2: Lookup failed with error: {e}", flush=True)
|
||||||
return "Hip2: Lookup failed."
|
return
|
||||||
|
|
||||||
|
|
||||||
def wallet_txt(domain: str, doh_url="https://au.hnsdoh.com/dns-query") -> str | None:
|
def wallet_txt(domain: str, doh_url="https://au.hnsdoh.com/dns-query") -> str | None:
|
||||||
|
|||||||
Reference in New Issue
Block a user