Compare commits
4 Commits
6849e233aa
...
5e0edba77a
Author | SHA1 | Date | |
---|---|---|---|
5e0edba77a | |||
0c7cb4f21d | |||
a79d826efc | |||
7c0ee32b2f |
@ -2,13 +2,13 @@
|
|||||||
title: 我的Dockerfile
|
title: 我的Dockerfile
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2023-04-07T01:33:38.704Z
|
date: 2023-04-07T01:41:33.591Z
|
||||||
tags: docker, 技术, code, 代码
|
tags: docker, 技术, code, 代码
|
||||||
editor: ckeditor
|
editor: ckeditor
|
||||||
dateCreated: 2023-04-03T09:10:22.169Z
|
dateCreated: 2023-04-03T09:10:22.169Z
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<p>my-code-server</p>
|
<h1>my-code-server</h1>
|
||||||
<pre><code class="language-plaintext">FROM lscr.io/linuxserver/code-server:latest
|
<pre><code class="language-plaintext">FROM lscr.io/linuxserver/code-server:latest
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt install -y npm \
|
&& apt install -y npm \
|
||||||
@ -16,3 +16,11 @@ RUN apt-get update \
|
|||||||
&& npm install -g n \
|
&& npm install -g n \
|
||||||
&& n latest \
|
&& n latest \
|
||||||
&& npm install -g yarn \</code></pre>
|
&& npm install -g yarn \</code></pre>
|
||||||
|
<h1>ocer-world</h1>
|
||||||
|
<pre><code class="language-plaintext">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 \
|
||||||
|
&& hexo server -p 5000</code></pre>
|
||||||
|
Loading…
Reference in New Issue
Block a user