update
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS prepare
|
||||
ARG REPO=github.com/frg2089/BiliLive.Observer TARGET_VER=0.0.9
|
||||
# ADD https://$REPO/releases/download/v$TARGET_VER/BiliLive.Observer.zip /mnt/
|
||||
ADD https://$REPO/releases/latest/download/BiliLive.Observer.zip /mnt/
|
||||
ADD https://$REPO/releases/download/v$TARGET_VER/BiliLive.Observer.zip /mnt/
|
||||
# he has updated to dotnet 10 while I'm lazy to apply since direct run works fine
|
||||
# ADD https://$REPO/releases/latest/download/BiliLive.Observer.zip /mnt/
|
||||
RUN apt update && apt install -y unzip && unzip -o /mnt/BiliLive.Observer.zip -d /package
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
COPY --from=prepare /package /opt/obs-bililive
|
||||
# ENV ASPNETCORE_URLS=http://localhost:23333
|
||||
WORKDIR /opt/obs-bililive
|
||||
ENTRYPOINT ["dotnet", "./BiliLive.Service.dll", "--urls", "http://0.0.0.0:5000"]
|
||||
ENTRYPOINT ["dotnet", "./BiliLive.Service.dll"]
|
||||
|
||||
Reference in New Issue
Block a user