From 9c5386f6393e8608c0d22cde811b2a5c9835d4cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E9=98=B4=E5=A4=A9?= Date: Tue, 2 Jan 2024 12:47:58 +0000 Subject: [PATCH] docs: update Dockerfile --- Dockerfile.html | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Dockerfile.html b/Dockerfile.html index 88dddd1..bc96457 100644 --- a/Dockerfile.html +++ b/Dockerfile.html @@ -2,7 +2,7 @@ title: 我的Dockerfile description: published: true -date: 2024-01-02T12:30:31.493Z +date: 2024-01-02T12:47:54.888Z tags: docker, 技术, code, 代码 editor: ckeditor dateCreated: 2023-04-03T09:10:22.169Z @@ -20,16 +20,6 @@ RUN apt-get update \
FROM node:latest
 RUN npm install -g hexo-cli \
 && git clone https://gitea.ocer.cc/overcast404/ocer-world.git \
-&& cd ocer-world \
-&& npm install
-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 \