Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

372 B
Raw Blame
FROM golang:1.26-trixie

RUN apt-get update && apt-get install -y --no-install-recommends git && \
    rm -rf /var/lib/apt/lists/* && \
    go install github.com/air-verse/air@latest

WORKDIR /app

# Cache dependencies first.
COPY go.mod go.sum ./
RUN go mod download

# Source is volume-mounted at runtime for live reload.
COPY . .

ENTRYPOINT ["air", "-c", ".air.toml"]