This commit is contained in:
Patrick Alvin Alcala 2026-03-18 15:41:22 +08:00
parent 087fa36876
commit cd4861689b
4 changed files with 477 additions and 231 deletions

View file

@ -1,4 +1,4 @@
FROM node:22-alpine AS build
FROM node:24.14-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN corepack enable
@ -6,7 +6,7 @@ RUN pnpm install
COPY . .
RUN pnpm build
FROM nginx:alpine AS runtime
FROM nginx:stable-alpine AS runtime
COPY ./nginx/nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 4321