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:
parent
8b6d9f3845
commit
d65f6ba2ec
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue