重新构建干净的镜像

This commit is contained in:
aixianling
2024-10-21 14:41:15 +08:00
parent 8c0a797dc8
commit eeb5c0a511

View File

@@ -1,10 +1,6 @@
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