mirror of
https://github.com/acedanger/pokemon.git
synced 2025-12-05 22:50:13 -08:00
- 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.
25 lines
467 B
Docker
25 lines
467 B
Docker
# ---- Build Stage ----
|
|
FROM node:23-slim AS build
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy package files and install dependencies
|
|
COPY package.json package-lock.json ./
|
|
RUN npm install
|
|
|
|
# Copy the rest of the application code
|
|
COPY . .
|
|
|
|
# Build the application
|
|
RUN npm run build
|
|
|
|
# ---- Serve Stage ----
|
|
FROM caddy:2.10.0-alpine
|
|
|
|
WORKDIR /srv
|
|
|
|
# Copy built assets from the build stage
|
|
COPY --from=build /app/dist /srv
|
|
|
|
# Copy Caddy configuration file
|
|
COPY Caddyfile /etc/caddy/Caddyfile |