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