feat(config)!: Changed default config location
This commit is contained in:
@@ -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" ]
|
||||
|
||||
@@ -20,7 +20,7 @@ pub struct Setup {
|
||||
}
|
||||
|
||||
fn default_entrypoint() -> String {
|
||||
"./config.lua".into()
|
||||
"./config/config.lua".into()
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Typed)]
|
||||
|
||||
Reference in New Issue
Block a user