mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2026-12-01 23:07:51 +00:00
Compare commits
1
Commits
main
...
a987c82641
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a987c82641 |
+5
-2
@@ -6,5 +6,8 @@ RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o deeplx .
|
|||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /go/src/github.com/OwO-Network/DeepLX/deeplx /app/deeplx
|
RUN addgroup -S deeplx && adduser -h /app -G deeplx -SH deeplx
|
||||||
CMD ["/app/deeplx"]
|
USER deeplx
|
||||||
|
COPY --from=builder --chown=deeplx /go/src/github.com/OwO-Network/DeepLX/deeplx /app/deeplx
|
||||||
|
EXPOSE 1188
|
||||||
|
ENTRYPOINT ["/app/deeplx"]
|
||||||
|
|||||||
Reference in New Issue
Block a user