diff --git a/Containerfile b/Containerfile index 5be4317..c6e74a3 100644 --- a/Containerfile +++ b/Containerfile @@ -4,16 +4,12 @@ WORKDIR /app FROM chef AS planner COPY ./Cargo.toml ./Cargo.lock ./ 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 FROM chef AS builder COPY --from=planner /app/recipe.json . RUN cargo chef cook --release COPY . . -RUN apk add sed -RUN sed -i 's/\[::\]/0.0.0.0/g' /app/src/web/mod.rs RUN cargo build --release RUN mv ./target/release/metasearch2 ./app