From 81d86b6aa5c8f874627780966d853ac78c39bf09 Mon Sep 17 00:00:00 2001 From: overcast404 Date: Sun, 25 Feb 2024 17:00:22 +0800 Subject: [PATCH] feat: useless files. --- Dockerfile | 13 +++++++++++++ index.html | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..12bf6c7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:latest + +RUN apt-get update \ +&& apt-get install -y nginx \ +&& git clone https://gitea.ocer.cc/overcast404/ocer-cc.git \ +&& cd /ocer-cc \ +&& npm install + +CMD cd /ocer-cc \ +&& git pull \ +&& npm run build + +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/index.html b/index.html index 50d8d04..243034d 100644 --- a/index.html +++ b/index.html @@ -8,11 +8,11 @@ /> 吴阴天 - + > -->