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
|
# 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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue