這裏有一個重要的技巧 Dockerfile,首先只複制依賴項的文件,而不是FastAPI 應用程序代碼. COPY ./requirements.txt /code/requirements.txt.
確定! 回上一頁