標籤: #環境設定
各位大大好,卡關兩天來求救一下。我在 Windows 11 上用 Docker 跑一個簡單的 Python + FastAPI 專案,本機直接執行都正常,但一 build image 之後容器啟動就出現 ModuleNotFoundError。Dockerfile 裡有先 COPY requirements.txt 再 pip install,也確認過工作目...
編輯時間: 2026-03-16 17:28:33作者 yeyuqiaochuang_7214 普通 | 回覆數 1 | 2026-03-14 21:11:47