我使用基於Ubunt 17.04的Linux 18。 當我運行rails assets:precompile我得到以下信息Yarn executable was not detected in the system 當我按照安裝指令就像這個Post或在Webpage,我裝紗成功,但軌道不斷給我的錯誤 我注意到node.js系統軟件包的Linux Mint版本高達版本17.2,我試圖完成Yarn頁面
我閱讀了關於long-term caching的這個內容,並試圖在我的項目中實現這一點,但是當我試圖在docker容器中構建它時,清單文件會生成指向資產的錯誤鏈接,但生成過程運行良好。 Dockerfile.web FROM node:8.2.1-alpine
WORKDIR /web
ADD /tmp/app.tar.gz /web
# At the end node_modules