kolaente 4 months ago
commit
30742983e6
Signed by: konrad GPG Key ID: F40E70337AB24C9B
  1. 2
      .gitignore
  2. 12
      Dockerfile
  3. 3
      go.mod

2
.gitignore

@ -0,0 +1,2 @@
.idea/
reactorrrrrrrr

12
Dockerfile

@ -0,0 +1,12 @@
FROM golang:alpine AS build-env
WORKDIR ${GOPATH}/src/kolaente.dev/konrad/reactorrrrrrrr
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /go/bin/reactorrrrrrrr
# The actual image
FROM scratch
COPY --from=build-env /go/bin/reactorrrrrrrr /reactorrrrrrrr
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/reactorrrrrrrr"]

3
go.mod

@ -0,0 +1,3 @@
module kolaente.dev/konrad/discord-kaenguru
go 1.16
Loading…
Cancel
Save