From 2a0db5b24785cbda07f97aca5d1c24bab3a3e47f Mon Sep 17 00:00:00 2001 From: mol Date: Fri, 8 Dec 2023 15:42:52 +0800 Subject: [PATCH] test --- Dockerfile | 4 +++- README.md | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/Dockerfile b/Dockerfile index f87257d..619cde3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,9 @@ EXPOSE 80 WORKDIR /app COPY ./Theresa3rd-Bot /app -RUN ls + +RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime +RUN echo 'Asia/Shanghai' >/etc/timezone CMD dotnet TheresaBot.MiraiHttpApi.dll --launch-profile Production --urls http://0.0.0.0:80 diff --git a/README.md b/README.md new file mode 100644 index 0000000..5271f0c --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +[Theresa3rd-bot 文档](https://www.theresa3rd.cn/#/) +单纯的将这个项目给塞进了 docker 中