调整镜像,使其支持bash脚本运行
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
FROM node:16
|
FROM node:16-slim
|
||||||
LABEL authors="kubbo"
|
LABEL authors="kubbo"
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y bash
|
||||||
|
|
||||||
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