mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2026-12-01 23:07:51 +00:00
fix(release): keep deeplx binary and Docker package names
Only the GitHub repository was renamed to DLX. Restore historical artifact names: deeplx_* release binaries, missuo/deeplx Docker Hub, ghcr.io/owo-network/deeplx, and matching install/systemd/launchd paths.
This commit is contained in:
+5
-5
@@ -2,12 +2,12 @@ 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 .
|
||||
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o deeplx .
|
||||
|
||||
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
|
||||
RUN addgroup -S deeplx && adduser -h /app -G deeplx -SH deeplx
|
||||
USER deeplx:deeplx
|
||||
COPY --from=builder --chown=deeplx:deeplx /go/src/github.com/OwO-Network/DLX/deeplx /app/deeplx
|
||||
EXPOSE 1188
|
||||
ENTRYPOINT ["/app/dlx"]
|
||||
ENTRYPOINT ["/app/deeplx"]
|
||||
|
||||
Reference in New Issue
Block a user