Compare commits
No commits in common. "4b9184ce230d78c11445ada79e6e0236177fe331" and "0c685a2f47eafcc1d970e7144d0fa2a5cefd542b" have entirely different histories.
4b9184ce23
...
0c685a2f47
2 changed files with 1 additions and 7 deletions
|
|
@ -44,10 +44,6 @@ RUN curl -fsSL https://bun.sh/install | bash -s "bun-v1.3.11" \
|
||||||
FROM base AS prod-deps
|
FROM base AS prod-deps
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json bun.lock ./
|
COPY package.json bun.lock ./
|
||||||
# Bun patches (patchedDependencies in package.json) must be present at
|
|
||||||
# install time: --frozen-lockfile resolution fails with "Couldn't find
|
|
||||||
# patch file" without them (v0.2.56 Coolify deploy failure).
|
|
||||||
COPY patches ./patches
|
|
||||||
# Retry with a fresh cache dir per attempt: a corrupt tarball download
|
# Retry with a fresh cache dir per attempt: a corrupt tarball download
|
||||||
# (flaky registry/proxy → "Integrity check failed for tarball: drizzle-kit")
|
# (flaky registry/proxy → "Integrity check failed for tarball: drizzle-kit")
|
||||||
# must never be reused from a bun cache, across attempts or cached layers.
|
# must never be reused from a bun cache, across attempts or cached layers.
|
||||||
|
|
@ -74,8 +70,6 @@ FROM base AS builder
|
||||||
RUN apk add --no-cache git
|
RUN apk add --no-cache git
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json bun.lock ./
|
COPY package.json bun.lock ./
|
||||||
# Bun patches: same install-time requirement as prod-deps (see above).
|
|
||||||
COPY patches ./patches
|
|
||||||
# Same retry + fresh-cache pattern as prod-deps (corrupt tarball downloads
|
# Same retry + fresh-cache pattern as prod-deps (corrupt tarball downloads
|
||||||
# fail bun's integrity check; a fresh --cache-dir per attempt prevents reuse).
|
# fail bun's integrity check; a fresh --cache-dir per attempt prevents reuse).
|
||||||
RUN for i in 1 2 3; do \
|
RUN for i in 1 2 3; do \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "polaris-task-force",
|
"name": "polaris-task-force",
|
||||||
"version": "0.2.57",
|
"version": "0.2.56",
|
||||||
"description": "Web app for the Arma 3 unit Polaris Task Force. Uses Next.js for client- and server-side rendering, with a Postgres database and some other neat libraries.",
|
"description": "Web app for the Arma 3 unit Polaris Task Force. Uses Next.js for client- and server-side rendering, with a Postgres database and some other neat libraries.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue