Skip to content

Commit

Permalink
chore(docker): Add docker build cache & Increase timeout in client Do…
Browse files Browse the repository at this point in the history
…ckerfile (#77)
  • Loading branch information
egekocabas authored Dec 16, 2024
1 parent f5489a8 commit c1a2604
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max

- id: output-tag-client
run: |
Expand Down
2 changes: 1 addition & 1 deletion client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /app
COPY package.json yarn.lock ./

# Install dependencies
RUN yarn install
RUN yarn install --network-timeout 1000000

# Copy the entire project to the working directory
COPY . .
Expand Down

0 comments on commit c1a2604

Please sign in to comment.