Major Changes: - Migrate components from Options API to Composition API with <script setup> - Add centralized service layer (serviceService, deliveryService, adminService) - Implement new reusable components (EnhancedButton, EnhancedModal, StatCard, etc.) - Add theme store for consistent theming across application - Improve ServiceCalendar with federal holidays and better styling - Refactor customer profile and tank estimation components - Update all delivery and payment pages to use centralized services - Add utility functions for formatting and validation - Update Dockerfiles for better environment configuration - Enhance Tailwind config with custom design tokens UI Improvements: - Modern, premium design with glassmorphism effects - Improved form layouts with FloatingInput components - Better loading states and empty states - Enhanced modals and tables with consistent styling - Responsive design improvements across all pages Technical Improvements: - Strict TypeScript types throughout - Better error handling and validation - Removed deprecated api.js in favor of TypeScript services - Improved code organization and maintainability
26 lines
474 B
Docker
Executable File
26 lines
474 B
Docker
Executable File
FROM node:20.11.1
|
|
|
|
ENV VITE_BASE_URL="http://localhost:9510"
|
|
ENV VITE_AUTO_URL="http://localhost:9514"
|
|
ENV VITE_MONEY_URL="http://localhost:9513"
|
|
ENV VITE_AUTHORIZE_URL="http://localhost:9516"
|
|
ENV VITE_VOIPMS_URL="http://localhost:9517"
|
|
ENV VITE_SERVICE_URL="http://localhost:9515"
|
|
|
|
|
|
ENV VITE_VOIPMS_TOKEN="my_secret_token"
|
|
ENV VITE_COMPANY_ID='1'
|
|
|
|
|
|
RUN mkdir -p /app
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
|
|
ENV PATH /app/node_modules/.bin:$PATH
|
|
|
|
RUN npm install
|
|
|
|
COPY . /app
|