有套代碼,需要在服務(wù)器直接run dev,,docker build玩起來(lái),。 步驟:
FROM node:16.20.1 WORKDIR /ruoyi-ui COPY . . CMD ["npm","run","dev"] 3. docker build -t flowable . 4. docker run -d -p 80:80 --name flowable flowable 5. docker ps,,有問(wèn)題,就 docker logs -f flowable --tail=100 |
|