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
|
# Stage 2: Frontend assets compilation
|
||||||
# =================================================================
|
# =================================================================
|
||||||
FROM node:20-alpine AS static-assets
|
FROM node:24-alpine AS static-assets
|
||||||
|
|
||||||
WORKDIR /app
|
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
|
RUN npm ci
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
Reference in New Issue
Block a user