WIP
This commit is contained in:
parent
fcca7e8329
commit
30070779ec
@ -1,7 +1,7 @@
|
|||||||
FROM node:20-alpine AS builder
|
FROM node:22.13-alpine AS builder
|
||||||
|
|
||||||
# Enable corepack and install pnpm
|
# Enable corepack and install pnpm
|
||||||
RUN corepack enable && corepack prepare pnpm@latest --activate
|
RUN corepack enable && corepack prepare pnpm@10.18.3 --activate
|
||||||
|
|
||||||
# Disable interactive prompts
|
# Disable interactive prompts
|
||||||
ENV CI=true
|
ENV CI=true
|
||||||
@ -20,9 +20,9 @@ COPY . .
|
|||||||
# Build the application
|
# Build the application
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
FROM node:22-alpine AS runner
|
FROM node:22.13-alpine AS runner
|
||||||
|
|
||||||
RUN corepack enable && corepack prepare pnpm@latest --activate
|
RUN corepack enable && corepack prepare pnpm@10.18.3 --activate
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app ./
|
COPY --from=builder /app ./
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"packageManager": "pnpm@10.18.3",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev --turbopack",
|
"dev": "next dev --turbopack",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user