BililiveRecorder/Dockerfile.GitHubActions
2021-06-23 17:59:59 +08:00

9 lines
291 B
Docker

FROM mcr.microsoft.com/dotnet/runtime:5.0
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY ./BililiveRecorder.Cli/bin/docker_out /app
VOLUME [ "/rec" ]
WORKDIR /app
ENTRYPOINT [ "dotnet", "/app/BililiveRecorder.Cli.dll" ]
CMD [ "-h" ]