最新 肥羊的4K/8K超高清IPTV直播源&&直播代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
IPTV-feiyang/Dockerfile

21 lines
329 B

FROM golang:1.19-alpine AS build
WORKDIR /app
COPY ./Golang/go.mod ./
COPY ./Golang/go.sum ./
RUN go mod download
COPY ./Golang/*.go ./
COPY ./Golang/list/*.go ./list/
COPY ./Golang/liveurls/*.go ./liveurls/
RUN go build -o /allinone
FROM alpine:3.14
COPY --from=build /allinone /allinone
EXPOSE 35455
CMD [ "/allinone" ]