fix: Update Dockerfile to use Alpine 3.21 as base image
Some checks failed
Go / build (push) Successful in -11s
renovate / renovate (push) Successful in 1m0s
SonarQube Scan / Build and analyze (push) Failing after 12s

This commit is contained in:
Alex Wellnitz 2025-03-26 16:37:24 +01:00
parent 7a5018bc5e
commit 3f7a895593

View File

@ -11,7 +11,7 @@ COPY . .
RUN go build -o gosearch .
# Use a minimal base image for final deployment
FROM alpine:latest
FROM alpine:3.21
# Set working directory in the container
WORKDIR /
# Copy the built binary from the builder stage