Compare commits
2 Commits
2523c900bc
...
915fb3f1a0
| Author | SHA1 | Date | |
|---|---|---|---|
|
915fb3f1a0
|
|||
|
954b220c48
|
@@ -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" ]
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
local devices = require("automation:devices")
|
||||
local device_manager = require("automation:device_manager")
|
||||
local utils = require("automation:utils")
|
||||
local secrets = require("automation:secrets")
|
||||
local debug = require("automation:variables").debug and true or false
|
||||
@@ -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