node docs and switch to pnpm
Build, Test & Publish / Build (pull_request) Successful in 1m0s
Build, Test & Publish / Build and Publish Container Image (pull_request) Has been skipped
Build, Test & Publish / Deploy to Infrastructure (pull_request) Has been skipped

This commit is contained in:
LiamPietralla committed 2026-03-04 07:34:58 +11:00
1 parent bfc110e1c1
commit 80031f13b4
7 files changed
+1705 -1826

No files matched your search

+5 -4
View File
@@ -2,21 +2,22 @@ FROM nginx:alpine AS base
EXPOSE 80
WORKDIR /app
FROM node:20 as build
FROM node:24 AS build
WORKDIR /src
# Copy package.json and package-lock.json
COPY package.json .
COPY package-lock.json .
COPY pnpm-lock.yaml .
# Install dependencies
RUN npm ci
RUN corepack enable
RUN pnpm install --frozen-lockfile
# Copy the app
COPY . .
# Build the app
RUN npm run build
RUN pnpm run build
FROM base AS final
WORKDIR /usr/share/nginx/html