festa-magica-ia/Dockerfile
Marcio Bevervanso f240abaeb1 Cria repositório inicial da landing page de campanhas (Meta Ads)
Projeto separado do site principal: landing page React/Vite usada nas
campanhas de tráfego pago, com funil de WhatsApp simulado e melhorias
recentes de conversão (prova real antes/depois, preço em destaque,
CTAs múltiplos estilo página de vendas).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-08 12:12:13 -03:00

31 lines
570 B
Docker

# Build phase
FROM node:20-alpine AS builder
WORKDIR /app
# Copy dependency info
COPY package.json package-lock.json ./
# Install all dependencies
RUN npm ci
# Copy the rest of the application code
COPY . .
# Build the application
RUN npm run build
# Serve phase
FROM nginx:alpine
# Copy the build output to replace the default nginx contents
COPY --from=builder /app/dist /usr/share/nginx/html
# Copy our custom nginx configuration
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Expose port 8080
EXPOSE 8080
# Start nginx
CMD ["nginx", "-g", "daemon off;"]