diff options
| author | James Mills <prologic@shortcircuit.net.au> | 2020-03-21 11:03:00 +1000 |
|---|---|---|
| committer | James Mills <prologic@shortcircuit.net.au> | 2020-03-21 11:03:00 +1000 |
| commit | 83351c4b5b9e948c1ba8a949ca013b9b3f5eddcb (patch) | |
| tree | c74e9d214219231fa10914c86f3f54a7c87fe372 | |
| parent | 84cba437249e3c109435c9b93a4026c6098cb491 (diff) | |
Fixed docker image
| -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": { |
