paxton-front/Dockerfile
alsaze c534729473
All checks were successful
Deploy / build (push) Successful in 50s
создаю телегу товаров
2025-10-05 14:22:24 +03:00

18 lines
376 B
Docker

FROM node:22-alpine AS build
WORKDIR /app
RUN corepack enable
COPY package.json yarn.lock ./
RUN yarn install
COPY . .
ENV BSPB_MERCHANT_ID=TT00001
ENV BSPB_MERCHANT_PASSWORD=zTGRe1OBZg3
ENV BSPB_API_URL=https://pgtest.bspb.ru:5443
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"]