Skip to content

Commit 1aab7d5

Browse files
author
Hanzo Dev
committed
fix: Remove patch script approach from Docker build
- Removed scripts directory copy from Dockerfile - Removed patch script execution step - Will fix issues directly in @hanzo/ui package instead - Simplifies Docker build process
1 parent 069bad0 commit 1aab7d5

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

docker/Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,13 @@ WORKDIR /app
1111

1212
# Copy package files
1313
COPY package.json pnpm-lock.yaml* ./
14-
# Copy scripts directory if it exists (needed for postinstall)
15-
COPY scripts/ scripts/
1614

1715
# Install all dependencies (including dev for build)
1816
RUN pnpm install --frozen-lockfile
1917

2018
# Copy application source
2119
COPY . .
2220

23-
# Patch @hanzo/ui to fix build issues
24-
RUN if [ -f "scripts/patch-hanzo-ui.js" ]; then \
25-
node scripts/patch-hanzo-ui.js || echo "Patch script not found or failed, continuing..."; \
26-
fi
27-
2821
# Build Next.js application
2922
ENV NEXT_TELEMETRY_DISABLED=1
3023
ENV NODE_ENV=production

0 commit comments

Comments
 (0)