Updated docker images

This commit is contained in:
Patrick Alvin Alcala 2026-03-18 15:14:54 +08:00
parent 371567ad82
commit 392f0c653a

View file

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