Compare commits

..

No commits in common. "5e0edba77a6c86d5b18647b0d2d1ae8c3fcb9347" and "6849e233aa2a45f41f894a3aac0711f3fad2b1a3" have entirely different histories.

View File

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