重新构建干净的镜像
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user