Compare commits
1 Commits
915fb3f1a0
...
2523c900bc
| Author | SHA1 | Date | |
|---|---|---|---|
|
2523c900bc
|
@@ -21,5 +21,6 @@ RUN cargo auditable build --release
|
|||||||
|
|
||||||
FROM gcr.io/distroless/cc-debian12:nonroot AS runtime
|
FROM gcr.io/distroless/cc-debian12:nonroot AS runtime
|
||||||
COPY --from=builder /app/target/release/automation /app/automation
|
COPY --from=builder /app/target/release/automation /app/automation
|
||||||
COPY ./config /app/config
|
ENV AUTOMATION__ENTRYPOINT=/app/config.lua
|
||||||
|
COPY ./config.lua /app/config.lua
|
||||||
CMD [ "/app/automation" ]
|
CMD [ "/app/automation" ]
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
local devices = require("automation:devices")
|
local devices = require("automation:devices")
|
||||||
|
local device_manager = require("automation:device_manager")
|
||||||
local utils = require("automation:utils")
|
local utils = require("automation:utils")
|
||||||
local secrets = require("automation:secrets")
|
local secrets = require("automation:secrets")
|
||||||
local debug = require("automation:variables").debug and true or false
|
local debug = require("automation:variables").debug and true or false
|
||||||
@@ -20,7 +20,7 @@ pub struct Setup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn default_entrypoint() -> String {
|
fn default_entrypoint() -> String {
|
||||||
"./config/config.lua".into()
|
"./config.lua".into()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Deserialize, Typed)]
|
#[derive(Debug, Deserialize, Typed)]
|
||||||
|
|||||||
Reference in New Issue
Block a user