DeepLX/Dockerfile
Davy 8d145722eb
Update Dockerfile to use Go 1.25 base image (#215)
* Initial plan

* Update Dockerfile to use golang:1.25 to match go.mod requirement

Co-authored-by: thedavidweng <95214375+thedavidweng@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-03-18 03:47:26 -07: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"]