- 11/29 17:14:23
- client-016
- > vite --port 80
- 11/29 17:14:23
- client-016
- > vue-project@0.0.0 dev
- 11/29 17:14:24
- client-013
- sh: 1: vite: Permission denied
最后一句,2022-11-29 17:12:19 check_eks_virtual_service : process, DescribeVersion_user_error_Back-off restarting failed container, [service]:[Back-off restarting failed container,]
Dockerfile:
FROM node:18-slim
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install --only=production
COPY . ./
EXPOSE 80
CMD [ "npm", "run","dev" ]
请问楼主这个问题解决了吗? 我也遇到了不知道怎么弄
vite, 使用CMD npm run dev就报错,部署失败,使用CMD npm run dev:linux就可以部署成功,但是页面不停自己刷新。