Files
site11/console/frontend/Dockerfile
jungwoo choi 4b2be7ccaf Step 4: Frontend Skeleton - React + Vite + Material-UI dashboard
- Created React application with TypeScript and Material-UI
- Implemented dashboard with service health monitoring
- Added Services and Users management pages
- Configured Nginx as reverse proxy to backend
- Successfully integrated frontend with Console backend

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 16:30:11 +09:00

20 lines
309 B
Docker

# Build stage
FROM node:18-alpine as builder
WORKDIR /app
COPY package.json ./
RUN npm install
COPY . .
RUN npm run build
# Production stage
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]