first commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
# pnpm resolves platform-specific optional deps (e.g. Vite's rolldown native
|
||||
# binding) reliably; npm intermittently drops them (npm/cli#4828).
|
||||
RUN corepack enable && corepack prepare pnpm@9.2.0 --activate
|
||||
COPY package.json ./
|
||||
RUN pnpm install
|
||||
CMD ["pnpm", "run", "dev"]
|
||||
Reference in New Issue
Block a user