Updated docker images
This commit is contained in:
parent
371567ad82
commit
392f0c653a
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue