chore(docker): change binary name inside container

This commit is contained in:
2025-06-29 13:48:01 +03:00
parent e7dfc8a92f
commit d621c90d61
4 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -1071,7 +1071,7 @@ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
[[package]]
name = "sbrs"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"anyhow",
"clap",

View File

@ -1,6 +1,6 @@
[package]
name = "sbrs"
version = "0.1.0"
version = "0.1.1"
edition = "2024"
[dependencies]

View File

@ -42,7 +42,7 @@ RUN addgroup -S -g ${PGID} app && \
adduser -S -u ${PUID} -G app -h /app app
# Copy the compiled binary from the builder stage
COPY --from=builder /app/target/release/sbrs /usr/local/bin/ruleset-sync
COPY --from=builder /app/target/release/sbrs /usr/local/bin/sbrs
# Copy the entrypoint script
COPY ./docker/entrypoint.sh /usr/local/bin/entrypoint.sh

View File

@ -8,7 +8,7 @@ RULE_PATH=${RULE_PATH:-}
# --- Build the Command ---
# This command is now used for both the initial run and the cron job.
APP_CMD="/usr/local/bin/ruleset-sync \
APP_CMD="/usr/local/bin/sbrs \
--input-config /config/template.json \
--rules-dir /rules \
--output-config /config/default.json \