fix: VERSION file resolution in Docker build context
- Dockerfile now copies VERSION into /build/web/VERSION for vite - vite.config.ts tries ../VERSION (local dev) then ./VERSION (Docker)
This commit is contained in:
@@ -9,6 +9,7 @@ FROM node:22-alpine AS builder
|
||||
WORKDIR /build/web
|
||||
COPY web/package.json web/package-lock.json ./
|
||||
RUN npm ci
|
||||
COPY VERSION ./
|
||||
COPY web/ ./
|
||||
RUN npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user