Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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/
Loading