mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-15 19:22:19 +08:00
9 lines
299 B
Docker
9 lines
299 B
Docker
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
|
|
COPY ./BililiveRecorder.Cli/bin/docker_out /app
|
|
VOLUME [ "/rec" ]
|
|
WORKDIR /app
|
|
ENTRYPOINT [ "dotnet", "/app/BililiveRecorder.Cli.dll" ]
|
|
CMD [ "run", "/rec" ]
|