paxton-front/Dockerfile
Никита Круглицкий 2b75aaf7bf
All checks were successful
Deploy / build (push) Successful in 2m20s
test ssr
2025-09-26 01:32:37 +06:00

15 lines
263 B
Docker

FROM node:22-alpine AS build
WORKDIR /app
RUN corepack enable
COPY package.json yarn.lock ./
RUN yarn install
COPY . .
RUN yarn build
FROM node:22-alpine
WORKDIR /app
COPY --from=build /app/.output/ ./
ENV PORT=80
EXPOSE 80
CMD ["node", "/app/server/index.mjs"]