我正在为一个nextjs应用程序与alpine node合作。我正在试着安装纱线。我的控制台返回我:
stat/bin/sh:没有这样的文件或目录:未知
这里是我的文件:
FROM mhart/alpine-node:latest
WORKDIR /app
COPY package.json /app
ENTRYPOINT ["/bin/sh"] // I have tried to modify the entrypoin in order to cure the problem
RUN yarn install
COPY . /app
RUN yarn build
CMD yarn start
怎么了?我想不出来。
任何暗示都很好,
谢谢。