(Fix): Name fixes, fixed the version mismatch between golang versions ( stoppid claude )

This commit is contained in:
2025-11-21 08:48:07 +00:00
parent ca02226745
commit 6898a7e9ed

View File

@@ -1,33 +1,23 @@
# Multi-stage build for Ziprine FROM golang:1.25-alpine AS builder
FROM golang:1.21-alpine AS builder
# Install build dependencies
RUN apk add --no-cache git make RUN apk add --no-cache git make
# Set working directory
WORKDIR /app WORKDIR /app
# Copy go mod files
COPY go.mod go.sum ./ COPY go.mod go.sum ./
# Download dependencies
RUN go mod download RUN go mod download
# Copy source code
COPY . . COPY . .
# Build
RUN make build RUN make build
# Final stage
FROM alpine:latest FROM alpine:latest
RUN apk --no-cache add ca-certificates RUN apk --no-cache add ca-certificates
WORKDIR /root/ WORKDIR /root/
# Copy binary from builder COPY --from=builder /app/build/zipprine .
COPY --from=builder /app/build/ziprine .
# Run ENTRYPOINT ["./linux-zipprine-amd64"]
ENTRYPOINT ["./ziprine"]