Mirror from bluesky-social/pds

switch build to use corepack rather than latest pnpm (#218)

authored by devin ivy and committed by GitHub d0c43fbd a6e8feaf

Changed files
+3 -1
service
+2 -1
Dockerfile
··· 1 1 FROM node:20.11-alpine3.18 as build 2 2 3 - RUN npm install -g pnpm 3 + RUN corepack enable 4 4 5 5 # Move files into the image and install 6 6 WORKDIR /app 7 7 COPY ./service ./ 8 + RUN corepack prepare --activate 8 9 RUN pnpm install --production --frozen-lockfile > /dev/null 9 10 10 11 # Uses assets from build stage to reduce build size
+1
service/package.json
··· 3 3 "private": true, 4 4 "version": "0.0.0", 5 5 "description": "Service entrypoint for atproto personal data server", 6 + "packageManager": "pnpm@8.15.9", 6 7 "main": "index.js", 7 8 "license": "MIT", 8 9 "dependencies": {