Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 28835a7

Browse files
committed
Fri Apr 19 22:01:14 PDT 2024
1 parent d337c6e commit 28835a7

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

server/Dockerfile.addon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ LABEL \
3838
org.opencontainers.image.created=${BUILD_DATE} \
3939
org.opencontainers.image.revision=${BUILD_REF} \
4040
org.opencontainers.image.version=${BUILD_VERSION}
41-
42-
CMD bun run -r server/src/services/hass.ts server/src/index.ts
41+
WORKDIR /usr/src/app/server
42+
CMD bun run src/index.ts

server/bunfig.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
preload = ["./src/addon-config.ts"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const injectHassOptions = async () => {
88
return
99
}
1010

11-
const raw = await readFile(OPTIONS_PATH, 'utf8')
11+
const raw = await readFile(OPTIONS_PATH, 'utf8')
1212
const options = JSON.parse(raw)
1313

1414
console.log('injecting hass options', options)

0 commit comments

Comments
 (0)