chore(docker): change binary name inside container
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1071,7 +1071,7 @@ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sbrs"
|
name = "sbrs"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"clap",
|
"clap",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "sbrs"
|
name = "sbrs"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
@ -42,7 +42,7 @@ RUN addgroup -S -g ${PGID} app && \
|
|||||||
adduser -S -u ${PUID} -G app -h /app app
|
adduser -S -u ${PUID} -G app -h /app app
|
||||||
|
|
||||||
# Copy the compiled binary from the builder stage
|
# 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 the entrypoint script
|
||||||
COPY ./docker/entrypoint.sh /usr/local/bin/entrypoint.sh
|
COPY ./docker/entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
|
@ -8,7 +8,7 @@ RULE_PATH=${RULE_PATH:-}
|
|||||||
|
|
||||||
# --- Build the Command ---
|
# --- Build the Command ---
|
||||||
# This command is now used for both the initial run and the cron job.
|
# 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 \
|
--input-config /config/template.json \
|
||||||
--rules-dir /rules \
|
--rules-dir /rules \
|
||||||
--output-config /config/default.json \
|
--output-config /config/default.json \
|
||||||
|
Reference in New Issue
Block a user