Skip to content

Commit

Permalink
fix: add dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
ndom91 committed Aug 8, 2024
1 parent 25dc9a3 commit 654a865
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
target
node_modules
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN corepack enable pnpm && corepack install
# the tests will eventually run
# TODO: It would be great to be able to avoid building this here, but we need:
# - a binary based on the current state of the source code on the persons machine
# - a binary built for their current arch (i.e. amd64/aarch64)
# - a binary built for their current arch (i.e. amd64/aarch64) (? Maybe docker + rosetta makes this a non-issue)
RUN --mount=type=bind,source=.,target=/build,rw \
pnpm build:test

Expand Down

0 comments on commit 654a865

Please sign in to comment.