# Development Dockerfile for Atlas CMMS Frontend FROM node:18-alpine WORKDIR /app # Install dependencies for hot reload RUN npm install -g @vitejs/plugin-vue # Copy package files COPY package*.json ./ # Install all dependencies (including dev dependencies) RUN npm install # Copy source code COPY . . # Expose Vite dev server port EXPOSE 3000 # Start development server with hot reload CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0", "--port", "3000"]