From 7c0ee32b2f28563ddb29aa39aadda5b6ad37f29d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E9=98=B4=E5=A4=A9?= Date: Fri, 7 Apr 2023 01:39:21 +0000 Subject: [PATCH] docs: update docker/Dockerfile --- docker/Dockerfile.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.html b/docker/Dockerfile.html index c726d63..8a8fd43 100644 --- a/docker/Dockerfile.html +++ b/docker/Dockerfile.html @@ -2,13 +2,13 @@ title: 我的Dockerfile description: published: true -date: 2023-04-07T01:33:38.704Z +date: 2023-04-07T01:39:19.936Z tags: docker, 技术, code, 代码 editor: ckeditor dateCreated: 2023-04-03T09:10:22.169Z --> -

my-code-server

+
my-code-server
FROM lscr.io/linuxserver/code-server:latest
 RUN apt-get update \
 && apt install -y npm \
@@ -16,3 +16,11 @@ RUN apt-get update \
 && npm install -g n \
 && n latest \
 && npm install -g yarn \
+
ocer-world
+
FROM node
+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 \
+hexo server -p 5000