forked from UMAprotocol/protocol
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update dockerfile to contain Across relayer bot (UMAprotocol#3879)
- Loading branch information
1 parent
bb8cc01
commit 01e898c
Showing
2 changed files
with
21 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# Simple script that simply runs a command input as an environment variable. Should be run from the core/ directory. | ||
# Note: this is used to allow the docker image to run arbitrary commands by specifying them in the environment rather | ||
# than the `docker run` command. | ||
$COMMAND | ||
# Simple script that simply runs a command input as an environment variable. This is used to allow the docker image to | ||
# run arbitrary commands by specifying them in the environment rather than the docker run command. Optionally, specify | ||
# UMA_PACKAGE as an ENV which lets you navigate to additional base packages installed within the container. | ||
if [ -z ${UMA_PACKAGE+x} ]; then $COMMAND; else cd ../${UMA_PACKAGE} && $COMMAND; fi |