stack-orchestrator/container-build/cerc-watcher-mobymask/build.sh
prathamesh0 3b031329b4
Upgrade watcher-ts version in the mobymask stack (#83)
* Upgrade watcher-ts version in mobymask setup

* Change watcher db service name

* Add a clean-up step
2022-12-22 19:43:13 +05:30

10 lines
380 B
Bash
Executable File

#!/usr/bin/env bash
# Build cerc/watcher-mobymask
# See: https://stackoverflow.com/a/246128/1701505
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
docker build -t cerc/watcher-mobymask:local -f ${SCRIPT_DIR}/Dockerfile ${CERC_REPO_BASE_DIR}/watcher-ts
# TODO: add a mechanism to pass two repos into a container rather than the parent directory