mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
10 lines
342 B
Docker
10 lines
342 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
|
|
WORKDIR /app
|
|
VOLUME [ "/rec" ]
|
|
COPY ./BililiveRecorder.Cli/bin/docker_out /app
|
|
ENTRYPOINT [ "dotnet", "/app/BililiveRecorder.Cli.dll" ]
|
|
EXPOSE 2356/tcp
|
|
CMD [ "run", "--bind", "http://*:2356", "/rec" ]
|