BililiveRecorder/Dockerfile.GitHubActions

10 lines
342 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
WORKDIR /app
VOLUME [ "/rec" ]
COPY ./BililiveRecorder.Cli/bin/docker_out /app
2021-06-17 23:41:41 +08:00
ENTRYPOINT [ "dotnet", "/app/BililiveRecorder.Cli.dll" ]
2022-06-23 17:46:17 +08:00
EXPOSE 2356/tcp
CMD [ "run", "--bind", "http://*:2356", "/rec" ]