test ssr
All checks were successful
Deploy / build (push) Successful in 2m20s

This commit is contained in:
Никита Круглицкий 2025-09-26 01:32:37 +06:00
parent 9e07e4917a
commit 2b75aaf7bf

View File

@ -1,7 +1,7 @@
FROM node:22 AS build
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json ./
COPY yarn.lock ./
RUN corepack enable
COPY package.json yarn.lock ./
RUN yarn install
COPY . .
RUN yarn build
@ -10,5 +10,5 @@ FROM node:22-alpine
WORKDIR /app
COPY --from=build /app/.output/ ./
ENV PORT=80
EXPOSE 80
CMD ["node", "/app/server/index.mjs"]
#COPY --from=build /app/dist /usr/share/nginx/html