mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2026-07-27 14:21:01 +00:00
Rebrand in response to a trademark report regarding the DEEPL mark. Renames the Go module path, exported symbols, binary, systemd/launchd services, Docker images, and CI artifacts; adds a trademark disclaimer to the README and removes screenshots containing DeepL branding. BREAKING CHANGE: Go module path is now github.com/OwO-Network/DLX. translate.TranslateByDeepLX is now translate.TranslateByDLX and DeepLXTranslationResult is now DLXTranslationResult. The release binaries, systemd service, and Docker images are renamed from deeplx to dlx.
14 lines
378 B
Docker
14 lines
378 B
Docker
FROM golang:1.25 AS builder
|
|
WORKDIR /go/src/github.com/OwO-Network/DLX
|
|
COPY . .
|
|
RUN go get -d -v ./
|
|
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o dlx .
|
|
|
|
FROM alpine:latest
|
|
WORKDIR /app
|
|
RUN addgroup -S dlx && adduser -h /app -G dlx -SH dlx
|
|
USER dlx:dlx
|
|
COPY --from=builder --chown=dlx:dlx /go/src/github.com/OwO-Network/DLX/dlx /app/dlx
|
|
EXPOSE 1188
|
|
ENTRYPOINT ["/app/dlx"]
|