# Marketing Development Dockerfile - Vite Dev Server with Hot Reload
FROM node:18-alpine

WORKDIR /app

# Copy package files
COPY package*.json ./

# Install dependencies
RUN npm install

# Copy source code (will be mounted as volume, but needed for initial setup)
COPY . .

# Expose Vite dev server port
EXPOSE 5174

# Start Vite dev server for marketing site
CMD ["npm", "run", "dev:marketing"]

