Use ./src and ./public so Vite resolves /src/main.ts correctly instead of nesting files under web/web/src. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-2
@@ -22,8 +22,8 @@ FROM --platform=$BUILDPLATFORM ${IMAGE_PREFIX}node:20-alpine AS web-builder
|
||||
WORKDIR /src/web
|
||||
COPY web/package.json web/package-lock.json web/.npmrc ./
|
||||
RUN npm ci
|
||||
COPY web/src web/src
|
||||
COPY web/public web/public
|
||||
COPY web/src ./src
|
||||
COPY web/public ./public
|
||||
COPY web/index.html web/tsconfig.json web/vite.config.ts ./
|
||||
RUN npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user