Nabarun Gogoi
cf79f0de0a
* Build MobyMask web-app at container build step * Fix web-app start script to use env variables in config * Replace variables in built web-app files * Use published mobymask-ui package from gitea * Use published react-peer/test-app from gitea * Remove local gitea publish TODO
13 lines
438 B
Bash
Executable File
13 lines
438 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build cerc/mobymask-ui
|
|
|
|
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
|
|
|
|
# See: https://stackoverflow.com/a/246128/1701505
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
CERC_NPM_REGISTRY_URL="https://git.vdb.to/api/packages/cerc-io/npm/"
|
|
|
|
docker build -t cerc/mobymask-ui:local ${build_command_args} -f ${SCRIPT_DIR}/Dockerfile \
|
|
--build-arg CERC_NPM_REGISTRY_URL ${SCRIPT_DIR}
|