尝试用yum代入相关能力
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user