Update CSS imports and Dockerfile for consistent styles handling
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

- Enforced `!important` for `--color-background` in `variables.css`.
- Centralized CSS imports in `Layout.astro` for cleaner markup.
- Adjusted Dockerfile to ensure CSS variables are copied to `public/styles`.
- Refined fallback handling in `index.css` for `background-color`.
This commit is contained in:
2025-07-23 21:57:33 +02:00
parent 535c82bd81
commit 3a3a36e2ea
5 changed files with 8 additions and 5 deletions

View File

@ -4,6 +4,9 @@ WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
# Ensure CSS variables are present
RUN mkdir -p public/styles
RUN cp -r styles/* public/styles/ || true
RUN npm run build
FROM node:20-alpine AS production