DeepLX/Dockerfile
copilot-swe-agent[bot] ad089b3d61 Update Dockerfile to use golang:1.25 to match go.mod requirement
Co-authored-by: thedavidweng <95214375+thedavidweng@users.noreply.github.com>
2026-03-18 10:35:43 +00:00

11 lines
294 B
Docker

FROM golang:1.25 AS builder
WORKDIR /go/src/github.com/OwO-Network/DeepLX
COPY . .
RUN go get -d -v ./
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o deeplx .
FROM alpine:latest
WORKDIR /app
COPY --from=builder /go/src/github.com/OwO-Network/DeepLX/deeplx /app/deeplx
CMD ["/app/deeplx"]