14 lines
241 B
Docker
14 lines
241 B
Docker
# Build
|
|
FROM prologic/go-builder:latest AS build
|
|
|
|
# Runtime
|
|
FROM golang:alpine
|
|
|
|
RUN apk --no-cache -U add git build-base ffmpeg ffmpeg-dev
|
|
|
|
RUN go get github.com/mutschler/mt
|
|
|
|
COPY --from=build /src/tube /tube
|
|
|
|
ENTRYPOINT ["/tube"]
|
|
CMD [""]
|