mirror of
https://github.com/Retropex/apolloapi-v2.git
synced 2025-05-14 20:20:49 +02:00
14 lines
368 B
Bash
Executable File
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/ |