From 8c0a797dc8c1303c18b7456a7075af952e35a59d Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 21 Oct 2024 14:24:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E7=94=A8yum=E4=BB=A3?= =?UTF-8?q?=E5=85=A5=E7=9B=B8=E5=85=B3=E8=83=BD=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8ce9fcc..a6c79e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ FROM node:16-slim LABEL authors="kubbo" + +RUN yum update -y && yum install -y bash +RUN yum clean all && rm -rf /var/cache/yum + COPY . /app WORKDIR /app RUN npm i --registry=http://registry.npmmirror.com