- Vite + React frontend: hero, services grid, contact form - Express + nodemailer backend for contact form → kenji@kenjim.com - Multi-stage Docker builds; nginx inside frontend proxies /api to backend - SMTP config via .env (see .env.example) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
129 B
Docker
8 lines
129 B
Docker
FROM node:20-alpine
|
|
WORKDIR /app
|
|
COPY package.json .
|
|
RUN npm install --production
|
|
COPY . .
|
|
EXPOSE 3001
|
|
CMD ["node", "server.js"]
|