paxton-front/Dockerfile
Никита Круглицкий 94a3c04f33
All checks were successful
Deploy / build (push) Successful in 1m29s
test ssr
2025-09-26 01:27:01 +06:00

15 lines
285 B
Docker

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