This commit is contained in:
parent
4b34f8cd5e
commit
ea0c09561f
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ FROM alpine:latest AS build
|
|||
RUN apk add --no-cache go
|
||||
ADD . /go/lockserver
|
||||
WORKDIR /go/lockserver
|
||||
RUN go build ./cmd/lockserver
|
||||
RUN CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=7 go build ./cmd/lockserver
|
||||
|
||||
FROM alpine:latest
|
||||
COPY --from=build /go/lockserver/lockserver /lockserver
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"zwave-js-server": "ws://home-assistant:3000",
|
||||
"sqlite-database": "lockserver.db",
|
||||
"sqlite-database": "/data/lockserver.db",
|
||||
"http-bind": ":8080"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue