FROM node:18-alpine WORKDIR /app # Copy package manifests and install dependencies COPY package*.json ./ RUN npm install # Copy the rest of the application code COPY . . # Expose the Vite dev server port EXPOSE 5173 # Start the dev server, listening on all network interfaces CMD ["npm", "run", "dev", "--", "--host"]