我有一个 Docker 安装,我想从它开始docker compose up(并且不必运行 2 个额外的 ttys ),所以我添加了一个 Procfile.dev ,如下所示
web: bin/rails server -p 3000 -b '0.0.0.0'\njs: yarn build_js --watch\ncss: yarn build_css --watch\nRun Code Online (Sandbox Code Playgroud)\n然而,输出并不令人愉快
\n\xe2\x88\x9a mindling % docker compose up\n[+] Running 3/0\n \xe2\xa0\xbf Container mindling_redis Running 0.0s\n \xe2\xa0\xbf Container mindling_db Running 0.0s\n \xe2\xa0\xbf Container mindling_mindling_1 Created 0.0s\nAttaching to mindling_db, mindling_1, mindling_redis\nmindling_1 | 19:54:04 web.1 | started with pid 16\nmindling_1 | 19:54:04 js.1 | started with pid 19\nmindling_1 | 19:54:04 css.1 | started with …Run Code Online (Sandbox Code Playgroud)