Skip to content

Commit

Permalink
Add .dockerignore (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles authored May 23, 2024
1 parent 3163880 commit e9c981a
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
wasms
2 changes: 1 addition & 1 deletion scripts/docker-build-wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ done

echo "CommitId: $GIT_COMMIT_ID"

docker build -t event_store --build-arg git_commit_id=$GIT_COMMIT_ID --build-arg rustflags="$RUSTFLAGS" .
docker build -t event_store --build-arg git_commit_id=$GIT_COMMIT_ID --build-arg rustflags="$RUSTFLAGS" . || exit 1

container_id=$(docker create event_store)
rm -rf wasms
Expand Down

0 comments on commit e9c981a

Please sign in to comment.