Fixed docker image
This commit is contained in:
parent
84cba43724
commit
83351c4b5b
3 changed files with 7 additions and 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
|
||||
|
||||
|
|
1
Makefile
1
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 \
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}
|
||||
],
|
||||
"server": {
|
||||
"host": "127.0.0.1",
|
||||
"host": "0.0.0.0",
|
||||
"port": 8000
|
||||
},
|
||||
"feed": {
|
||||
|
|
Loading…
Reference in a new issue