Files
pokemon/Dockerfile
Peter Wood 0f6cfe3d6c 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.
2025-04-22 17:31:47 -04:00

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