2023-03-20 12:55:39 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# Build cerc/react-peer
|
|
|
|
|
2023-04-14 20:19:27 +00:00
|
|
|
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
|
|
|
|
|
2023-03-20 12:55:39 +00:00
|
|
|
# See: https://stackoverflow.com/a/246128/1701505
|
|
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
|
2023-04-18 12:55:58 +00:00
|
|
|
CERC_NPM_REGISTRY_URL="https://git.vdb.to/api/packages/cerc-io/npm/"
|
|
|
|
|
|
|
|
docker build -t cerc/react-peer:local ${build_command_args} -f ${SCRIPT_DIR}/Dockerfile \
|
|
|
|
--build-arg CERC_NPM_REGISTRY_URL ${SCRIPT_DIR}
|