paxton-front/Dockerfile
alsaze 2b8a5e5774
All checks were successful
Deploy / build (push) Successful in 2m21s
карта ПВЗ
2025-10-17 17:10:14 +03:00

23 lines
428 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
ENV BSPB_MERCHANT_ID=TT00001
ENV BSPB_MERCHANT_PASSWORD=ztTGre1OBZg3
ENV BSPB_API_URL=https://pgtest.bspb.ru:5443
ENV VITE_BASE_URL=https://paxton.koptilnya.xyz
EXPOSE 80
CMD ["node", "/app/server/index.mjs"]