1
0

Init Commit

This commit is contained in:
2025-02-26 15:17:36 -06:00
parent a738d3687b
commit c38b2e389a
82 changed files with 15371 additions and 0 deletions

26
dockerfile Normal file
View File

@@ -0,0 +1,26 @@
# Use Node 20 as the base image
FROM node:20-alpine AS build
# Set the working directory
WORKDIR /app
# Copy package.json and package-lock.json to leverage caching
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application files
COPY . .
# Ensure Ionic CLI can be found by npm scripts
ENV PATH="./node_modules/.bin:$PATH"
# Build the Ionic Vue app
RUN npm run build
# Expose the Vite preview server port
EXPOSE 4173
# Start the app using Vite's preview server
CMD ["npm", "run", "preview"]