Files
www.kenjim.com/frontend/Dockerfile
Kenji M e802f03f02 Replace static Hello World with KenJim Technologies React app
- 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>
2026-06-19 15:18:16 +00:00

12 lines
231 B
Docker

FROM node:20-alpine AS build
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80