Updated
This commit is contained in:
parent
fa67b238af
commit
e4ca8f8ebd
3 changed files with 22 additions and 10 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue