1
0
Fork 0
mirror of https://github.com/mat-1/metasearch2.git synced 2025-08-02 15:26:04 +00:00

fix silly containers (#19)

This commit is contained in:
Duel 2025-04-07 01:54:15 -04:00 committed by GitHub
parent be30c931b9
commit 681cec7c42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,8 +14,8 @@ RUN cargo build --release
FROM debian:bookworm-slim AS runtime
WORKDIR /app
COPY --from=builder /app/config.toml /usr/local/bin/config.toml
COPY --from=builder /app/target/release/metasearch2 /usr/local/bin/metasearch2
COPY --from=builder /app/target/release/metasearch /usr/local/bin/metasearch
ARG CONFIG
ENV CONFIG=${CONFIG}
EXPOSE 28019
ENTRYPOINT /usr/local/bin/metasearch2 $CONFIG
ENTRYPOINT /usr/local/bin/metasearch $CONFIG