diff --git a/app/Dockerfile b/app/Dockerfile index 7ec5f55..06be4dd 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -23,14 +23,14 @@ RUN apt-get update && apt-get install -y \ WORKDIR /app # pyproject.toml 在 app/ 裡 -COPY app/pyproject.toml . -COPY app/uv.lock* . +COPY pyproject.toml . +COPY uv.lock* . RUN uv sync --frozen RUN uv run playwright install chromium RUN uv run playwright install-deps chromium # 只複製 app/ 的內容進去 -COPY app/ . +COPY . . CMD ["uv", "run", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] \ No newline at end of file