docs: update docker/Dockerfile

This commit is contained in:
吴阴天 2023-04-10 05:58:58 +00:00 committed by wikijs
parent 5e0edba77a
commit 211277197a

View File

@ -2,7 +2,7 @@
title: 我的Dockerfile title: 我的Dockerfile
description: description:
published: true published: true
date: 2023-04-07T01:41:33.591Z date: 2023-04-10T05:58:56.346Z
tags: docker, 技术, code, 代码 tags: docker, 技术, code, 代码
editor: ckeditor editor: ckeditor
dateCreated: 2023-04-03T09:10:22.169Z dateCreated: 2023-04-03T09:10:22.169Z
@ -23,4 +23,6 @@ RUN npm install -g hexo-cli \
&& cd ocer-world \ && cd ocer-world \
&& npm install && npm install
CMD cd ocer-world \ CMD cd ocer-world \
&& git pull \
&& npm install \
&amp;&amp; hexo server -p 5000</code></pre> &amp;&amp; hexo server -p 5000</code></pre>