diff options
| -rw-r--r-- | Dockerfile | 6 | ||||
| -rw-r--r-- | Makefile | 1 | ||||
| -rw-r--r-- | config.json | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -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 @@ -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": { |
