This commit is contained in:
Patrick Alvin Alcala 2026-03-18 14:35:03 +08:00
parent fa67b238af
commit e4ca8f8ebd
3 changed files with 22 additions and 10 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 ./.deployment/nginx/nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/.output/public /usr/share/nginx/html
EXPOSE 8080