docs: update docker/Dockerfile

This commit is contained in:
吴阴天 2023-04-07 01:40:06 +00:00 committed by wikijs
parent 7c0ee32b2f
commit a79d826efc

View File

@ -2,13 +2,13 @@
title: 我的Dockerfile
description:
published: true
date: 2023-04-07T01:39:19.936Z
date: 2023-04-07T01:40:04.396Z
tags: docker, 技术, code, 代码
editor: ckeditor
dateCreated: 2023-04-03T09:10:22.169Z
-->
<h5>my-code-server</h5>
<h1>my-code-server</h1>
<pre><code class="language-plaintext">FROM lscr.io/linuxserver/code-server:latest
RUN apt-get update \
&amp;&amp; apt install -y npm \
@ -16,7 +16,7 @@ RUN apt-get update \
&amp;&amp; npm install -g n \
&amp;&amp; n latest \
&amp;&amp; npm install -g yarn \</code></pre>
<h5>ocer-world</h5>
<h1>ocer-world</h1>
<pre><code class="language-plaintext">FROM node
RUN npm install -g hexo-cli \
&amp;&amp; git clone https://gitea.ocer.cc/overcast404/ocer-world.git \