fix: exclude archive media and support classic Docker builds
This commit is contained in:
2 files changed
+3
-4
No files matched your search
@@ -3,6 +3,7 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
.env
|
.env
|
||||||
movies
|
movies
|
||||||
|
archive
|
||||||
data
|
data
|
||||||
cache
|
cache
|
||||||
derived
|
derived
|
||||||
|
|||||||
@@ -10,8 +10,7 @@ WORKDIR /workspace
|
|||||||
# Corepack's downloader has a fixed, short connection timeout and no retry,
|
# Corepack's downloader has a fixed, short connection timeout and no retry,
|
||||||
# which makes first builds fragile on distant or temporarily congested npm
|
# which makes first builds fragile on distant or temporarily congested npm
|
||||||
# routes. npm honors the retry/timeout settings above; keep the version pinned.
|
# routes. npm honors the retry/timeout settings above; keep the version pinned.
|
||||||
RUN --mount=type=cache,id=easy-stream-npm,target=/root/.npm \
|
RUN npm install --global "pnpm@${PNPM_VERSION}" \
|
||||||
npm install --global "pnpm@${PNPM_VERSION}" \
|
|
||||||
&& test "$(pnpm --version)" = "${PNPM_VERSION}"
|
&& test "$(pnpm --version)" = "${PNPM_VERSION}"
|
||||||
|
|
||||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml tsconfig.base.json ./
|
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml tsconfig.base.json ./
|
||||||
@@ -21,8 +20,7 @@ COPY apps/worker/package.json ./apps/worker/package.json
|
|||||||
COPY packages/contracts/package.json ./packages/contracts/package.json
|
COPY packages/contracts/package.json ./packages/contracts/package.json
|
||||||
COPY packages/database/package.json ./packages/database/package.json
|
COPY packages/database/package.json ./packages/database/package.json
|
||||||
COPY packages/media/package.json ./packages/media/package.json
|
COPY packages/media/package.json ./packages/media/package.json
|
||||||
RUN --mount=type=cache,id=easy-stream-pnpm,target=/root/.local/share/pnpm/store \
|
RUN pnpm install --frozen-lockfile
|
||||||
pnpm install --frozen-lockfile
|
|
||||||
|
|
||||||
COPY apps ./apps
|
COPY apps ./apps
|
||||||
COPY packages ./packages
|
COPY packages ./packages
|
||||||
|
|||||||
Reference in new issue
Block a user