KickerBot/Dockerfile

12 lines
242 B
Docker
Raw Normal View History

2021-12-03 12:19:55 +03:00
FROM golang:1.14.3-alpine AS build
WORKDIR /src
COPY ./go.mod go.mod
COPY ./go.sum go.sum
RUN go mod download
2021-12-03 12:19:55 +03:00
COPY . .
RUN go build -o /out/kicker
2021-12-07 01:18:44 +03:00
FROM alpine:3.14 AS bin
2022-02-02 00:58:56 +03:00
COPY ./assets /assets
2021-12-07 01:18:44 +03:00
COPY --from=build /out/kicker /
CMD "/kicker"