mirror of
https://github.com/MatthewL246/pretendo-docker.git
synced 2026-04-22 16:47:26 -05:00
12 lines
301 B
Bash
Executable File
12 lines
301 B
Bash
Executable File
#! /bin/sh
|
|
|
|
set -eu
|
|
|
|
git_base=$(git rev-parse --show-toplevel)
|
|
. "$git_base/scripts/.function-lib.sh"
|
|
create_endpoint_script=$(cat "$git_base/scripts/run-in-container/update-miiverse-endpoints.js")
|
|
|
|
docker compose up -d miiverse-api
|
|
|
|
docker compose exec miiverse-api node -e "$create_endpoint_script"
|