diff options
| -rw-r--r-- | Containerfile | 4 | ||||
| -rw-r--r-- | src/components/Model3D.tsx | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Containerfile b/Containerfile index 0df0638..7b2672f 100644 --- a/Containerfile +++ b/Containerfile @@ -1,5 +1,5 @@ # Build stage -FROM node:22-alpine AS build +FROM node:23-alpine AS build WORKDIR /app RUN corepack enable pnpm COPY package.json pnpm-lock.yaml ./ @@ -8,7 +8,7 @@ COPY . . RUN pnpm build # Production stage -FROM node:22-alpine +FROM node:23-alpine WORKDIR /app RUN npm install -g serve COPY --from=build /app/dist ./dist diff --git a/src/components/Model3D.tsx b/src/components/Model3D.tsx index dd44f3a..447c451 100644 --- a/src/components/Model3D.tsx +++ b/src/components/Model3D.tsx @@ -12,6 +12,7 @@ interface Model3DProps { } interface ShaderUniforms { + [uniform: string]: THREE.IUniform; map: { value: THREE.Texture | null }; hasMap: { value: boolean }; baseColor: { value: THREE.Vector3 }; |