尝试用yum代入相关能力

This commit is contained in:
aixianling
2024-10-21 14:24:20 +08:00
parent c8f7c169cc
commit 8c0a797dc8

View File

@@ -1,6 +1,10 @@
FROM node:16-slim FROM node:16-slim
LABEL authors="kubbo" LABEL authors="kubbo"
RUN yum update -y && yum install -y bash
RUN yum clean all && rm -rf /var/cache/yum
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
RUN npm i --registry=http://registry.npmmirror.com RUN npm i --registry=http://registry.npmmirror.com