BililiveRecorder/Dockerfile.GitHubActions
2022-04-05 13:01:16 +08:00

9 lines
297 B
Docker

FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine
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" ]