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:
@@ -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
|
||||
|
Reference in New Issue
Block a user