Merge branch 'dev' of pocketjawa/discord-buttsbot-go into master
commit
d007ddbcfa
|
@ -0,0 +1,5 @@
|
||||||
|
.git
|
||||||
|
.drone.yml
|
||||||
|
.gitignore
|
||||||
|
.dockerignore
|
||||||
|
Dockerfile
|
11
Dockerfile
11
Dockerfile
|
@ -1,10 +1,11 @@
|
||||||
FROM golang:latest
|
FROM golang:latest AS build
|
||||||
|
|
||||||
WORKDIR /go/src/buttsbot
|
WORKDIR /go/src/buttsbot
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN rm -rf .git .drone.yml .gitignore
|
|
||||||
RUN go get -d -v ./...
|
RUN go get -d -v ./...
|
||||||
RUN go install -v ./...
|
RUN go install -v ./...
|
||||||
|
|
||||||
CMD ["buttsbot"]
|
FROM alpine:latest
|
||||||
|
run apk add --no-cache bash
|
||||||
|
WORKDIR /app
|
||||||
|
COPY --from=build /go/bin/buttsbot discord-buttsbot
|
||||||
|
CMD ./discord-buttsbot
|
Loading…
Reference in New Issue