mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2026-06-11 15:28:50 +00:00
Compare commits
2 Commits
a987c82641
...
d15486a773
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d15486a773 | ||
|
|
3aa23e1c4f |
@ -7,7 +7,7 @@ RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o deeplx .
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN addgroup -S deeplx && adduser -h /app -G deeplx -SH deeplx
|
RUN addgroup -S deeplx && adduser -h /app -G deeplx -SH deeplx
|
||||||
USER deeplx
|
USER deeplx:deeplx
|
||||||
COPY --from=builder --chown=deeplx /go/src/github.com/OwO-Network/DeepLX/deeplx /app/deeplx
|
COPY --from=builder --chown=deeplx:deeplx /go/src/github.com/OwO-Network/DeepLX/deeplx /app/deeplx
|
||||||
EXPOSE 1188
|
EXPOSE 1188
|
||||||
ENTRYPOINT ["/app/deeplx"]
|
ENTRYPOINT ["/app/deeplx"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user