changed shortest prefix match to longest prefix match; update dockerfile
This commit is contained in:
@@ -33,8 +33,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
|
||||
# change to scratch and get comment the apk command for prod, i guess
|
||||
FROM alpine:latest AS runtime
|
||||
# RUN apk add --no-cache ca-certificates curl netcat-openbsd bind-tools strace
|
||||
RUN apk add --no-cache ca-certificates curl netcat-openbsd bind-tools strace
|
||||
WORKDIR /enginewhy
|
||||
COPY --from=builder /enginewhy/target/x86_64-unknown-linux-musl/release/l4lb /usr/bin/l4lb
|
||||
COPY config.yaml .
|
||||
ENTRYPOINT ["l4lb"]
|
||||
|
||||
Reference in New Issue
Block a user