BililiveRecorder/Dockerfile.GitHubActions

9 lines
299 B
Docker
Raw Normal View History

FROM mcr.microsoft.com/dotnet/aspnet:6.0
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
2021-06-17 23:41:41 +08:00
COPY ./BililiveRecorder.Cli/bin/docker_out /app
VOLUME [ "/rec" ]
WORKDIR /app
ENTRYPOINT [ "dotnet", "/app/BililiveRecorder.Cli.dll" ]
2022-04-11 00:19:16 +08:00
CMD [ "run", "/rec" ]