Fixed docker image

This commit is contained in:
James Mills 2020-03-21 11:03:00 +10:00
parent 84cba43724
commit 83351c4b5b
No known key found for this signature in database
GPG key ID: AC4C014F1440EBD6
3 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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 \

View file

@ -6,7 +6,7 @@
}
],
"server": {
"host": "127.0.0.1",
"host": "0.0.0.0",
"port": 8000
},
"feed": {