docs: update docker/Dockerfile

This commit is contained in:
吴阴天 2023-04-03 09:13:29 +00:00 committed by wikijs
parent 887b0c9797
commit f5ac514477

View File

@ -2,7 +2,7 @@
title: 我的Dockerfile
description:
published: true
date: 2023-04-03T09:11:53.177Z
date: 2023-04-03T09:13:27.734Z
tags: docker, 技术, code, 代码
editor: ckeditor
dateCreated: 2023-04-03T09:10:22.169Z
@ -11,6 +11,6 @@ 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 npm \
&amp;&amp; apt install yarn \
&amp;&amp; apt install git \</code></pre>
&amp;&amp; apt install -y npm \
&amp;&amp; apt install -y yarn \
&amp;&amp; apt install -y git \</code></pre>