Обновить Dockerfile
All checks were successful
Deploy / build (push) Successful in 6m13s

This commit is contained in:
opti1337 2025-11-26 15:30:12 +00:00
parent b7b96e4386
commit f991896133

View File

@ -1,4 +1,4 @@
FROM node:22-alpine AS build
FROM node:24-alpine AS build
WORKDIR /app
RUN corepack enable
COPY package.json yarn.lock ./
@ -6,13 +6,12 @@ RUN yarn install
COPY . .
RUN yarn build
FROM node:22-alpine
FROM node:24-alpine
WORKDIR /app
COPY --from=build /app/.output/ ./
ENV PORT=80
ENV VITE_BASE_URL=http://localhost:3000
ENV VITE_BASE_URL=https://rental.koptilnya.xyz
EXPOSE 80