
- Implement dual theme system with separate Tailwind configs for light/dark modes - Add dynamic stylesheet switching based on system preference - Fix light mode text visibility by using darker colors on light backgrounds - Resolve sermon page bug where all content loaded on initial render - Add build scripts for theme compilation - Update recurring event type formatting consistency
29 lines
654 B
Docker
29 lines
654 B
Docker
FROM node:20-bullseye
|
|
|
|
# Install Rust
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Copy the church-core dependency first
|
|
COPY church-core /church-core
|
|
|
|
# Copy package files
|
|
COPY astro-church-website/package*.json ./
|
|
|
|
# Install Node dependencies
|
|
RUN npm install
|
|
|
|
# Copy source code
|
|
COPY astro-church-website .
|
|
|
|
# Build native bindings and Astro site
|
|
RUN npm run build
|
|
|
|
# Create output directory
|
|
RUN mkdir -p /output && \
|
|
cp -r dist/ /output/ && \
|
|
cp *.node /output/ && \
|
|
cp package.json index.* *.cjs *.mjs /output/ 2>/dev/null || true |