File size: 349 Bytes
77195e2
50542e5
be2edd9
1f9369d
50542e5
 
af03eb3
 
 
 
50542e5
af03eb3
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM golang:1.24 AS builder
WORKDIR /build
RUN apt install -y git && \
    git clone https://github.com/OwO-Network/DeepLX.git
WORKDIR /build/DeepLX
RUN go mod download
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o deeplx .

FROM alpine:latest
WORKDIR /app
COPY --from=builder /build/DeepLX/deeplx /app/deeplx

EXPOSE 1188

CMD ["/app/deeplx"]