Updated Containerfile to new tag and added config file

This commit is contained in:
Chad Baxter 2024-05-23 23:53:11 +00:00 committed by GitHub
parent ef65e60f9f
commit b68e744680
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
FROM lukemathwalker/cargo-chef:latest-rust-alpine as chef
FROM lukemathwalker/cargo-chef:latest-rust-slim as chef
WORKDIR /app
FROM chef AS planner
@ -16,5 +16,6 @@ RUN mv ./target/release/metasearch2 ./app
FROM scratch AS runtime
WORKDIR /app
COPY --from=builder /app/app /usr/local/bin/
COPY ./config.toml /usr/local/bin/
EXPOSE 28019
ENTRYPOINT ["/usr/local/bin/app"]