diff --git a/Dockerfile b/Dockerfile index 364dbb3..4a291af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,11 @@ FROM prologic/go-builder:latest AS build # Runtime -FROM alpine +FROM golang:alpine + +RUN apk --no-cache -U add git build-base ffmpeg-dev + +RUN go get github.com/mutschler/mt COPY --from=build /src/tube /tube diff --git a/Makefile b/Makefile index 0b0b942..18599ce 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ setup: @go get github.com/GeertJohan/go.rice/rice build: clean + @command -v rice > /dev/null || make setup @go generate $(shell go list)/... @go build \ -tags "netgo static_build" -installsuffix netgo \ diff --git a/config.json b/config.json index b81bd0d..a94b54d 100644 --- a/config.json +++ b/config.json @@ -6,7 +6,7 @@ } ], "server": { - "host": "127.0.0.1", + "host": "0.0.0.0", "port": 8000 }, "feed": {