Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files19 unmodified lines202122232425262719 unmodified linesWORKDIR /home/user/app/roopRUN pip install --no-cache-dir -r requirements.txt# 3️⃣ 复制 app.py 并设置启动命令WORKDIR /home/user/appCOPY app.py .CMD ["python", "app.py"]19 unmodified lines2021222324252627282919 unmodified linesWORKDIR /home/user/app/roopRUN pip install --no-cache-dir -r requirements.txt# 3️⃣ 确保 Python 可以找到 RoopENV PYTHONPATH="/home/user/app/roop:$PYTHONPATH"# 4️⃣ 复制 app.py 并设置启动命令WORKDIR /home/user/appCOPY app.py .CMD ["python", "app.py"]
Dockerfile+4-2