Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

resolve docker image failed build

Francis Cao7f907f63e9ff
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b97dac128..3c0164f0c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,14 +15,13 @@ jobs:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
- version: 10
+ version: 10.15.1
run_install: false
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- - run: npm install --global pnpm
- run: pnpm install
- run: pnpm test
- run: pnpm build
diff --git a/Dockerfile b/Dockerfile
index 8ee8bef22..29c23b535 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
ARG NODE_IMAGE_VERSION="22-alpine"
-ARG PNPM_VERSION="10.23.0"
+ARG PNPM_VERSION="10.15.1"
# Install dependencies only when needed
FROM node:${NODE_IMAGE_VERSION} AS deps
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 5e236fb7f..b153ecaa2 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -1,10 +1,13 @@
packages:
- '**'
ignoredBuiltDependencies:
+ - '@parcel/watcher'
- cypress
- - esbuild
- - sharp
onlyBuiltDependencies:
- '@prisma/client'
- '@prisma/engines'
+ - '@swc/core'
+ - esbuild
- prisma
+ - sharp
+ - unrs-resolver