fix(docker): fix production dockerfile

- remove tailwind.config.js as it is no longer needed
- upgraded Node to v24 to fix a vulnerability
This commit is contained in:
peaklabs-dev
2025-05-14 12:53:08 +02:00
parent 8b6d9f3845
commit d65f6ba2ec

View File

@@ -34,10 +34,10 @@ USER www-data
# =================================================================
# Stage 2: Frontend assets compilation
# =================================================================
FROM node:20-alpine AS static-assets
FROM node:24-alpine AS static-assets
WORKDIR /app
COPY package*.json vite.config.js tailwind.config.js postcss.config.cjs ./
COPY package*.json vite.config.js postcss.config.cjs ./
RUN npm ci
COPY . .
RUN npm run build