FROM golang:1.25-alpine RUN apk --no-cache add git ca-certificates WORKDIR /app RUN git clone https://github.com/OhMyDitzzy/uploader.git . RUN go mod download RUN CGO_ENABLED=0 GOOS=linux go build -o uploader . RUN mkdir -p /app/uploads && chmod 777 /app/uploads EXPOSE 7860 CMD ["./uploader"]