feat(config)!: Changed default config location

This commit is contained in:
2025-10-19 05:03:08 +02:00
parent 2fe9fbadfb
commit 2056c6c70d
3 changed files with 2 additions and 3 deletions

View File

@@ -21,6 +21,5 @@ RUN cargo auditable build --release
FROM gcr.io/distroless/cc-debian12:nonroot AS runtime
COPY --from=builder /app/target/release/automation /app/automation
ENV AUTOMATION__ENTRYPOINT=/app/config.lua
COPY ./config.lua /app/config.lua
COPY ./config /app/config
CMD [ "/app/automation" ]

View File

@@ -20,7 +20,7 @@ pub struct Setup {
}
fn default_entrypoint() -> String {
"./config.lua".into()
"./config/config.lua".into()
}
#[derive(Debug, Deserialize, Typed)]