Nabarun Gogoi
b0aeff50bb
* 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 Former-commit-id: cf79f0de0adccbd8812ed23a3d0a013cd5af7ff8
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}
|