chore: update dependencies and add new features

- Added Font Awesome and Annyang for enhanced UI and voice recognition capabilities.
- Updated package.json to include new dependencies: @fortawesome/fontawesome-free, annyang, and wrangler.
- Modified postcss.config.js for proper syntax.
- Updated style.css to include Font Awesome styles and added new styles for voice search button and footer.
- Adjusted tailwind.config.js to scan all relevant files for dynamic classes.
- Added VSCode settings to ignore unknown at-rules in CSS, SCSS, and LESS.
- Created a Caddyfile for server configuration with basic settings.
This commit is contained in:
Peter Wood
2025-04-22 17:31:47 -04:00
parent 00add8ae3b
commit 0f6cfe3d6c
10 changed files with 1148 additions and 82 deletions

View File

@@ -1,11 +1,10 @@
# ---- Build Stage ----
FROM node:20-alpine AS build
FROM node:23-slim AS build
WORKDIR /app
# Copy package files and install dependencies
# Copy package.json AND package-lock.json (if available)
COPY package*.json ./
COPY package.json package-lock.json ./
RUN npm install
# Copy the rest of the application code
@@ -15,16 +14,12 @@ COPY . .
RUN npm run build
# ---- Serve Stage ----
FROM nginx:stable-alpine
FROM caddy:2.10.0-alpine
WORKDIR /srv
# Copy built assets from the build stage
COPY --from=build /app/dist /usr/share/nginx/html
COPY --from=build /app/dist /srv
# Optional: Copy a custom Nginx configuration if needed
# COPY nginx.conf /etc/nginx/conf.d/default.conf
# Expose port 80
EXPOSE 80
# Start Nginx in the foreground
CMD ["nginx", "-g", "daemon off;"]
# Copy Caddy configuration file
COPY Caddyfile /etc/caddy/Caddyfile