Compare commits

..

No commits in common. "d15486a7732c7be1814c0b87f447f07a4710842b" and "a987c826413b2e8e614efeca1e9cc5ca1d7d7e1b" have entirely different histories.

View File

@ -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:deeplx USER deeplx
COPY --from=builder --chown=deeplx:deeplx /go/src/github.com/OwO-Network/DeepLX/deeplx /app/deeplx COPY --from=builder --chown=deeplx /go/src/github.com/OwO-Network/DeepLX/deeplx /app/deeplx
EXPOSE 1188 EXPOSE 1188
ENTRYPOINT ["/app/deeplx"] ENTRYPOINT ["/app/deeplx"]