Skip to content

Commit

Permalink
🚧 Ignore nested deployments, artifacts & cache to prevent the local e…
Browse files Browse the repository at this point in the history
…nvironment to interact with containerized tests (LayerZero-Labs#266)
  • Loading branch information
janjakubnanista authored Jan 27, 2024
1 parent 4cda579 commit 1da00d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ docker-*.yaml
*ignore

# Dependencies & deployments
node_modules
deployments
**/node_modules

# Build files & cache
artifacts
dist
cache
**/deployments
**/dist
**/artifacts
**/cache
**/out

# Metadata
*.md
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ RUN \
# Mount pnpm store
--mount=type=cache,id=pnpm-store,target=/pnpm \
# Fetch dependencies to the pnpm store based on the lockfile
#
# We will also skip the package scripts since in this operation the NPM_TOKEN is available
pnpm fetch --prefer-offline --frozen-lockfile

COPY . .
Expand Down

0 comments on commit 1da00d4

Please sign in to comment.