You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
217 B

8 months ago
FROM golang:1.19
RUN mkdir -p /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"]