wikijs/docker/Dockerfile.html

19 lines
472 B
HTML

<!--
title: 我的Dockerfile
description:
published: true
date: 2023-04-07T01:33:38.704Z
tags: docker, 技术, code, 代码
editor: ckeditor
dateCreated: 2023-04-03T09:10:22.169Z
-->
<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 \
&amp;&amp; apt install -y git \
&amp;&amp; npm install -g n \
&amp;&amp; n latest \
&amp;&amp; npm install -g yarn \</code></pre>