diff --git a/Dockerfile b/Dockerfile index f9a4fed..307aa5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # ----- # Build # ----- -FROM python:3.13-bookworm AS build +FROM python:3.13-slim-bookworm AS build # For more verbose output, use: # export BUILDKIT_PROGRESS=plain @@ -10,6 +10,10 @@ FROM python:3.13-bookworm AS build ENV DEBIAN_FRONTEND=noninteractive ENV TERM=linux +# Install prerequisites +RUN apt-get update +RUN apt-get --yes install wget + # Configure build environment ENV PIP_ROOT_USER_ACTION=ignore ENV UV_COMPILE_BYTECODE=true @@ -39,4 +43,4 @@ RUN chmod +x /tmp/jq FROM python:3.13-slim-bookworm COPY --from=build /app /opt/grafana-wtf COPY --from=build /tmp/jq /usr/local/bin/jq -ENV PATH="$PATH:/opt/grafana-wtf/bin" +RUN ln -s /opt/grafana-wtf/bin/grafana-wtf /usr/local/bin/