fix: Update Dockerfile to use Alpine 3.21 as base image
This commit is contained in:
parent
7a5018bc5e
commit
3f7a895593
@ -11,7 +11,7 @@ COPY . .
|
|||||||
RUN go build -o gosearch .
|
RUN go build -o gosearch .
|
||||||
|
|
||||||
# Use a minimal base image for final deployment
|
# Use a minimal base image for final deployment
|
||||||
FROM alpine:latest
|
FROM alpine:3.21
|
||||||
# Set working directory in the container
|
# Set working directory in the container
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
# Copy the built binary from the builder stage
|
# Copy the built binary from the builder stage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user