diff --git a/Dockerfile.html b/Dockerfile.html index 08c7123..88dddd1 100644 --- a/Dockerfile.html +++ b/Dockerfile.html @@ -2,7 +2,7 @@ title: 我的Dockerfile description: published: true -date: 2023-04-10T05:58:56.346Z +date: 2024-01-02T12:30:31.493Z tags: docker, 技术, code, 代码 editor: ckeditor dateCreated: 2023-04-03T09:10:22.169Z @@ -26,3 +26,14 @@ CMD cd ocer-world \ && git pull \ && npm install \ && hexo server -p 5000 +

ocer-world-new

+
FROM node:latest
+RUN npm install -g hexo-cli \
+&& git clone https://gitea.ocer.cc/overcast404/ocer-world.git \
+&& cd /ocer-world/land \
+&& npm install
+CMD cd ocer-world \
+&& git pull \
+&& cd land \
+&& npm install \
+&& hexo server -p 5000