Skip to content

Commit 00b48f5

Browse files
Work Flow Managerclaude
andcommitted
Additional GitHub Actions build optimizations
- Specify explicit Dockerfile path in build action - Simplify to single platform (linux/amd64) to reduce build time - Increase npm install timeout to handle large dependency downloads - These changes should prevent timeout and platform-specific build failures 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c0f44c1 commit 00b48f5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build-and-push.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ jobs:
4949
uses: docker/build-push-action@v5
5050
with:
5151
context: .
52-
platforms: linux/amd64,linux/arm64
52+
file: ./Dockerfile
53+
platforms: linux/amd64
5354
push: true
5455
tags: ${{ steps.meta.outputs.tags }}
5556
labels: ${{ steps.meta.outputs.labels }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ WORKDIR /app
2424

2525
# Clone Firecrawl repository
2626
RUN git clone https://github.com/mendableai/firecrawl.git . \
27-
&& cd apps/api && npm install \
27+
&& cd apps/api && npm install --timeout=300000 \
2828
&& npx playwright install --with-deps chromium
2929

3030
# Copy production environment

0 commit comments

Comments
 (0)