forked from massivebox/ecodash
First commit
This commit is contained in:
commit
82bba66fd6
30 changed files with 2176 additions and 0 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue