012ae52fc7
just some basic docker make file stuff to make it easier for local dev. Co-authored-by: gedw99 <gedw99@gmail.com> Reviewed-on: https://git.mills.io/prologic/tube/pulls/17 Co-authored-by: gerard webb <gedw99@noreply@mills.io> Co-committed-by: gerard webb <gedw99@noreply@mills.io>
14 lines
252 B
Docker
14 lines
252 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 install github.com/mutschler/mt@latest
|
|
|
|
COPY --from=build /src/tube /tube
|
|
|
|
ENTRYPOINT ["/tube"]
|
|
CMD [""]
|