forked from JonasFranzDEV/mensabot
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
391 B
10 lines
391 B
FROM golang:1.12-alpine AS build-env
|
|
COPY . ${GOPATH}/src/git.jonasfranz.software/JonasFranzDEV/mensabot
|
|
WORKDIR ${GOPATH}/src/git.jonasfranz.software/JonasFranzDEV/mensabot
|
|
|
|
RUN go build
|
|
|
|
FROM alpine:3.7
|
|
RUN apk --no-cache add ca-certificates
|
|
COPY --from=build-env /go/src/git.jonasfranz.software/JonasFranzDEV/mensabot/mensabot /app/mensabot/mensabot
|
|
ENTRYPOINT ["/app/mensabot/mensabot"] |