fix: apply Dockerfile devDependencies fix to ceo-web

Same class of bug as ceo-api/ceo-worker: plain npm install skips
devDependencies (typescript, tailwindcss, postcss) when NODE_ENV=production
is visible at build time, which next build needs. Switched to
npm ci --include=dev.
This commit is contained in:
valentinbvro 2026-07-21 19:33:40 +02:00
parent df897d4c15
commit 91eabf6c5c
3 changed files with 2716 additions and 2 deletions

5
.dockerignore Normal file
View file

@ -0,0 +1,5 @@
node_modules
.next
.git
.env
*.log

View file

@ -1,7 +1,7 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json ./
RUN npm install
COPY package.json package-lock.json ./
RUN npm ci --legacy-peer-deps --include=dev
COPY . .
RUN npm run build

2709
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff