forked from third-party-mirrors/bliss-analyser
Compare commits
No commits in common. "f514893de34f640ed8f3b78f090b50332b2cb774" and "04baedbfc27d025870b7cbc3f8165054a0ec3431" have entirely different histories.
f514893de3
...
04baedbfc2
12
Dockerfile
12
Dockerfile
@ -1,12 +0,0 @@
|
|||||||
FROM docker.io/rust:1-slim-bookworm as builder
|
|
||||||
RUN apt update && apt install -y clang libavcodec-dev libavformat-dev libavutil-dev libavfilter-dev libavdevice-dev pkg-config
|
|
||||||
WORKDIR /app
|
|
||||||
COPY . .
|
|
||||||
RUN cargo build --release
|
|
||||||
|
|
||||||
FROM docker.io/debian:12-slim
|
|
||||||
RUN apt update && apt install -y --no-install-recommends libavutil57 libavcodec59 libavformat59 libavfilter8 libavdevice59 && apt clean
|
|
||||||
COPY --from=builder /app/target/release/bliss-analyser /bin/bliss-analyser
|
|
||||||
RUN chmod 755 /bin/bliss-analyser && mkdir /data && chown 1000:1000 /data
|
|
||||||
USER 1000
|
|
||||||
ENTRYPOINT ["/bin/bliss-analyser"]
|
|
@ -175,8 +175,7 @@ fn main() {
|
|||||||
log::error!("Ignore file ({}) is not a file", ignore_file);
|
log::error!("Ignore file ({}) is not a file", ignore_file);
|
||||||
process::exit(-1);
|
process::exit(-1);
|
||||||
}
|
}
|
||||||
// analyse::update_ignore(&db_path, &ignore_path); // Ignore is done on postgres's
|
analyse::update_ignore(&db_path, &ignore_path);
|
||||||
// side
|
|
||||||
} else {
|
} else {
|
||||||
analyse::analyse_files(&db_path, &music_paths, dry_run, keep_old, max_num_files, max_threads);
|
analyse::analyse_files(&db_path, &music_paths, dry_run, keep_old, max_num_files, max_threads);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user