From 6898a7e9edb017316513c9c48ba8bea5c5223da3 Mon Sep 17 00:00:00 2001 From: bereck-work Date: Fri, 21 Nov 2025 08:48:07 +0000 Subject: [PATCH] (Fix): Name fixes, fixed the version mismatch between golang versions ( stoppid claude ) --- Dockerfile | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b73404..72dfab7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,33 +1,23 @@ -# Multi-stage build for Ziprine -FROM golang:1.21-alpine AS builder +FROM golang:1.25-alpine AS builder -# Install build dependencies RUN apk add --no-cache git make -# Set working directory WORKDIR /app -# Copy go mod files COPY go.mod go.sum ./ -# Download dependencies RUN go mod download -# Copy source code COPY . . -# Build RUN make build -# Final stage FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ -# Copy binary from builder -COPY --from=builder /app/build/ziprine . +COPY --from=builder /app/build/zipprine . -# Run -ENTRYPOINT ["./ziprine"] \ No newline at end of file +ENTRYPOINT ["./linux-zipprine-amd64"] \ No newline at end of file