The easy way to transfer files over the internet from your shell session, like copy and paste
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.
 
 
 

15 lines
286 B

FROM golang:1.15.2-alpine as build
ARG GOARCH=
ARG GO_BUILD_ARGS=
RUN mkdir /build
WORKDIR /build
COPY . .
RUN go build -v $GO_BUILD_ARGS -o /build/webclip .
FROM alpine
WORKDIR /app
COPY --from=build /build/webclip /app/webclip
RUN chmod +x /app/webclip
ENTRYPOINT ["/app/webclip"]