fix: all 3 Dockerfiles — Prisma copy, standalone paths, maturin PATH
Some checks failed
CI / E2E Tests (push) Has been skipped
CI / Lint → Typecheck → Test → Build (22) (push) Failing after 20s
Deploy / Build API Image (push) Failing after 27s
Deploy / Build Web Image (push) Failing after 17s
Deploy / Build AI Services Image (push) Failing after 20s
E2E Tests / Playwright E2E (push) Failing after 22s
Deploy / Deploy to Staging (push) Has been skipped
Deploy / Smoke Test Staging (push) Has been skipped
Deploy / Deploy to Production (push) Has been skipped
Deploy / Smoke Test Production (push) Has been skipped
Deploy / Rollback Staging (push) Has been skipped
Deploy / Rollback Production (push) Has been skipped
Some checks failed
CI / E2E Tests (push) Has been skipped
CI / Lint → Typecheck → Test → Build (22) (push) Failing after 20s
Deploy / Build API Image (push) Failing after 27s
Deploy / Build Web Image (push) Failing after 17s
Deploy / Build AI Services Image (push) Failing after 20s
E2E Tests / Playwright E2E (push) Failing after 22s
Deploy / Deploy to Staging (push) Has been skipped
Deploy / Smoke Test Staging (push) Has been skipped
Deploy / Deploy to Production (push) Has been skipped
Deploy / Smoke Test Production (push) Has been skipped
Deploy / Rollback Staging (push) Has been skipped
Deploy / Rollback Production (push) Has been skipped
- API: copy .prisma + @prisma into pruned node_modules, restore dist/prisma COPY - Web: fix standalone paths for monorepo (node_modules + apps/web/server.js) - AI: source cargo env in same RUN layer, wrap fallback pip install in subshell Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -7,11 +7,11 @@ RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends gcc g++ dumb-init curl && \
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN pip install --no-cache-dir maturin && \
|
||||
pip install --no-cache-dir . 2>/dev/null || pip install --no-cache-dir \
|
||||
RUN . /root/.cargo/env && \
|
||||
pip install --no-cache-dir maturin && \
|
||||
(pip install --no-cache-dir . 2>/dev/null || pip install --no-cache-dir \
|
||||
"fastapi==0.115.0" \
|
||||
"uvicorn[standard]==0.32.0" \
|
||||
"xgboost==2.1.0" \
|
||||
@@ -20,7 +20,7 @@ RUN pip install --no-cache-dir maturin && \
|
||||
"pydantic==2.9.0" \
|
||||
"pydantic-settings==2.5.0" \
|
||||
"httpx==0.27.0" \
|
||||
"slowapi==0.1.9"
|
||||
"slowapi==0.1.9")
|
||||
|
||||
COPY app/ ./app/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user