mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
build(web): use pnpm from corepack (#935)
* feat(web): use pnpm packageManager on package.json * build(web): add frozen-lockfile to Makefile * build(docker): use the same node version as Docker image * build(docker): enable corepack * build(makefile): use --dir instead of cd for pnpm
This commit is contained in:
parent
8925266104
commit
1f76aa38f4
4 changed files with 16 additions and 11 deletions
|
@ -2,8 +2,8 @@
|
|||
FROM node:18.7.0-alpine3.16 AS web-builder
|
||||
COPY . ./
|
||||
WORKDIR /web
|
||||
RUN npm install -g pnpm && \
|
||||
pnpm install --frozen-lockfile && \
|
||||
RUN corepack enable &&
|
||||
pnpm install --frozen-lockfile &&
|
||||
pnpm run build
|
||||
|
||||
# build app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue