docs: update docker/Dockerfile
This commit is contained in:
parent
5ffdb3a8ff
commit
6849e233aa
@ -2,7 +2,7 @@
|
|||||||
title: 我的Dockerfile
|
title: 我的Dockerfile
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2023-04-04T08:53:17.534Z
|
date: 2023-04-07T01:33:38.704Z
|
||||||
tags: docker, 技术, code, 代码
|
tags: docker, 技术, code, 代码
|
||||||
editor: ckeditor
|
editor: ckeditor
|
||||||
dateCreated: 2023-04-03T09:10:22.169Z
|
dateCreated: 2023-04-03T09:10:22.169Z
|
||||||
@ -13,4 +13,6 @@ dateCreated: 2023-04-03T09:10:22.169Z
|
|||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt install -y npm \
|
&& apt install -y npm \
|
||||||
&& apt install -y git \
|
&& apt install -y git \
|
||||||
|
&& npm install -g n \
|
||||||
|
&& n latest \
|
||||||
&& npm install -g yarn \</code></pre>
|
&& npm install -g yarn \</code></pre>
|
||||||
|
Loading…
Reference in New Issue
Block a user