add files
This commit is contained in:
commit
de8a92c967
4 changed files with 209 additions and 0 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
|||
FROM golang:alpine AS builder
|
||||
|
||||
WORKDIR /go/src/git.zio.sh/astra/ddgimagebot
|
||||
COPY . .
|
||||
|
||||
RUN apk update && \
|
||||
apk add --no-cache git bash && \
|
||||
go get -d -v ./... && \
|
||||
go install
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=builder /go/bin/ddgimagebot /usr/local/bin/ddgimagebot
|
||||
RUN apk add --no-cache bash
|
||||
|
||||
ENV BOT_TOKEN ""
|
||||
|
||||
CMD ["ddgimagebot"]
|
Loading…
Add table
Add a link
Reference in a new issue