FROM node:22-bullseye # Install Ionic CLI RUN npm install -g @ionic/cli @angular/cli # Set working directory WORKDIR /app # Expose ports for Ionic dev server and live reload EXPOSE 8100 8101 35729 # Start command (will be overridden by docker-compose for initial setup) CMD ["ionic", "serve", "--host", "0.0.0.0", "--port", "8100"]