# Development Dockerfile for hot-reloading
# Node Alpine -- multi-arch (amd64 + arm64)
FROM node:lts-alpine

WORKDIR /app

# Copy package files first for caching
COPY package.json ./

# Install dependencies
RUN npm install

# Expose Vite dev server port
EXPOSE 5173

CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]
