microsoft/hve-core
Publicmirrored fromhttps://github.com/microsoft/hve-coreAvailable
.devcontainer/scripts/post-create.sh
19lines · modecode
| 1 | #!/usr/bin/env bash |
| 2 | # Copyright (c) Microsoft Corporation. |
| 3 | # SPDX-License-Identifier: MIT |
| 4 | # |
| 5 | # post-create.sh |
| 6 | # Install NPM dependencies for HVE Core development container |
| 7 | |
| 8 | set -euo pipefail |
| 9 | |
| 10 | main() { |
| 11 | echo "Creating logs directory..." |
| 12 | mkdir -p logs |
| 13 | |
| 14 | echo "Installing NPM dependencies..." |
| 15 | npm ci |
| 16 | echo "NPM dependencies installed successfully" |
| 17 | } |
| 18 | |
| 19 | main "$@" |
| 20 | |