Updated Containerfile to new tag and added config file
This commit is contained in:
parent
ef65e60f9f
commit
b68e744680
@ -1,4 +1,4 @@
|
|||||||
FROM lukemathwalker/cargo-chef:latest-rust-alpine as chef
|
FROM lukemathwalker/cargo-chef:latest-rust-slim as chef
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
FROM chef AS planner
|
FROM chef AS planner
|
||||||
@ -16,5 +16,6 @@ RUN mv ./target/release/metasearch2 ./app
|
|||||||
FROM scratch AS runtime
|
FROM scratch AS runtime
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/app /usr/local/bin/
|
COPY --from=builder /app/app /usr/local/bin/
|
||||||
|
COPY ./config.toml /usr/local/bin/
|
||||||
EXPOSE 28019
|
EXPOSE 28019
|
||||||
ENTRYPOINT ["/usr/local/bin/app"]
|
ENTRYPOINT ["/usr/local/bin/app"]
|
||||||
|
Loading…
Reference in New Issue
Block a user