apolloapi-v2/backend/build
John 3284368a47 Initial changes for bitcoin port
added node systemd and supporting start/stop scripts
2021-04-02 19:30:02 -04:00

14 lines
368 B
Bash
Executable File

#!/bin/bash
SCRIPT_PATH="$( cd "$(dirname "$0")" ; pwd -P )"
APP_PATH="$SCRIPT_PATH/.."
mkdir -p "$APP_PATH/build" && \
docker build $APP_PATH -t orange && \
docker run --rm -v "${APP_PATH}":/hostdir orange /bin/bash -c "cp ../futurebit.tar.gz /hostdir/build"
cd $APP_PATH
git submodule init
git submodule update --recursive --remote
cp -a apolloui/build/* build/