- Remix (TypeScript) + Polaris, official Shopify app template - Prisma multi-tenant schema (Settings, ExclusionRule, WithdrawalRequest, AuditLog, WebhookEvent) on Postgres - Mandatory GDPR compliance webhooks (data_request, redact, shop/redact) + HMAC handlers - API version pinned 2026-04, scopes read_orders/read_products - Fly deploy config; two-env strategy (custom now, public later) - Dev setup: shopify.web.toml + Vite allowedHosts for tunnels - Docs: PLAN.md, ANALISI-REQUISITI-LEGALI.md (Art. 54-bis compliance) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mv83a29B4eFv5ixoj6PoE1
22 lines
430 B
Docker
22 lines
430 B
Docker
FROM node:18-alpine
|
|
RUN apk add --no-cache openssl
|
|
|
|
EXPOSE 3000
|
|
|
|
WORKDIR /app
|
|
|
|
ENV NODE_ENV=production
|
|
|
|
COPY package.json package-lock.json* ./
|
|
|
|
RUN npm ci --omit=dev && npm cache clean --force
|
|
# Remove CLI packages since we don't need them in production by default.
|
|
# Remove this line if you want to run CLI commands in your container.
|
|
RUN npm remove @shopify/cli
|
|
|
|
COPY . .
|
|
|
|
RUN npm run build
|
|
|
|
CMD ["npm", "run", "docker-start"]
|