remove replace bind addr with 0.0.0.0
the default addr was switched to 0.0.0.0 in the main branch now anyways
This commit is contained in:
parent
2bbbc2909e
commit
5c46679dd6
@ -4,16 +4,12 @@ WORKDIR /app
|
|||||||
FROM chef AS planner
|
FROM chef AS planner
|
||||||
COPY ./Cargo.toml ./Cargo.lock ./
|
COPY ./Cargo.toml ./Cargo.lock ./
|
||||||
COPY ./src ./src
|
COPY ./src ./src
|
||||||
RUN apk add sed
|
|
||||||
RUN sed -i 's/\[::\]/0.0.0.0/g' /app/src/web/mod.rs
|
|
||||||
RUN cargo chef prepare
|
RUN cargo chef prepare
|
||||||
|
|
||||||
FROM chef AS builder
|
FROM chef AS builder
|
||||||
COPY --from=planner /app/recipe.json .
|
COPY --from=planner /app/recipe.json .
|
||||||
RUN cargo chef cook --release
|
RUN cargo chef cook --release
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apk add sed
|
|
||||||
RUN sed -i 's/\[::\]/0.0.0.0/g' /app/src/web/mod.rs
|
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
RUN mv ./target/release/metasearch2 ./app
|
RUN mv ./target/release/metasearch2 ./app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user