mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-17 18:35:19 +02:00
chore: update Docker configuration to include pnpm workspace and refine dependency management
This commit is contained in:
parent
3b345e7091
commit
83e40c5aea
4 changed files with 13 additions and 14 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
# Database, Redis, and internal service wiring are handled automatically.
|
# Database, Redis, and internal service wiring are handled automatically.
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
# SurfSense version (use "latest", a clean version like "0.0.14", or a specific build like "0.0.14.1")
|
# SurfSense version (use "latest" or a specific version like "0.0.14")
|
||||||
SURFSENSE_VERSION=latest
|
SURFSENSE_VERSION=latest
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ WORKDIR /app
|
||||||
RUN corepack enable pnpm
|
RUN corepack enable pnpm
|
||||||
|
|
||||||
# Copy package files
|
# Copy package files
|
||||||
COPY package.json pnpm-lock.yaml* .npmrc* ./
|
COPY package.json pnpm-lock.yaml* pnpm-workspace.yaml* .npmrc* ./
|
||||||
|
|
||||||
# First copy the config file and content to avoid fumadocs-mdx postinstall error
|
# First copy the config file and content to avoid fumadocs-mdx postinstall error
|
||||||
COPY source.config.ts ./
|
COPY source.config.ts ./
|
||||||
|
|
|
||||||
|
|
@ -176,17 +176,5 @@
|
||||||
"tsx": "^4.20.6",
|
"tsx": "^4.20.6",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"vite": "^7.3.1"
|
"vite": "^7.3.1"
|
||||||
},
|
|
||||||
"pnpm": {
|
|
||||||
"onlyBuiltDependencies": [
|
|
||||||
"@parcel/watcher",
|
|
||||||
"@rocicorp/zero-sqlite3",
|
|
||||||
"@swc/core",
|
|
||||||
"core-js",
|
|
||||||
"esbuild",
|
|
||||||
"protobufjs",
|
|
||||||
"sharp",
|
|
||||||
"unrs-resolver"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
11
surfsense_web/pnpm-workspace.yaml
Normal file
11
surfsense_web/pnpm-workspace.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
packages:
|
||||||
|
- "."
|
||||||
|
onlyBuiltDependencies:
|
||||||
|
- "@parcel/watcher"
|
||||||
|
- "@rocicorp/zero-sqlite3"
|
||||||
|
- "@swc/core"
|
||||||
|
- core-js
|
||||||
|
- esbuild
|
||||||
|
- protobufjs
|
||||||
|
- sharp
|
||||||
|
- unrs-resolver
|
||||||
Loading…
Add table
Add a link
Reference in a new issue