ecodash/Dockerfile
MassiveBox 74ff51b035 SQLite Improvements
Turns out HomeAssistant only returns 10 days'data byault. This is a problem that we will havsoon.
Now the cache doesn't reset eh time it only if some data is missing.
2023-01-04 15:10:45 +01:00

14 lines
217 B
Docker
Executable file

FROM golang:1.19
RUN mkdir -p /app
WORKDIR /app
ADD . /app
RUN rm -rf go.mod go.sum config.json cache.json; \
touch config.json; \
go mod init ecodash; \
go mod tidy
RUN go build -o app .
CMD ["./app"]