16 lines
237 B
Docker
16 lines
237 B
Docker
FROM golang:1.19-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY [ "go.mod", "go.sum", "./" ]
|
|
|
|
RUN go mod download
|
|
|
|
COPY "datasources" "./datasources/"
|
|
COPY "utils" "./utils/"
|
|
COPY *.go ./
|
|
|
|
RUN go build -o /golifehkbot
|
|
|
|
CMD [ "/golifehkbot" ]
|