15 lines
404 B
Bash
15 lines
404 B
Bash
#!/bin/bash
|
|
|
|
REAL_VAR0=`readlink -f $0`
|
|
HOME_DIR=`dirname ${REAL_VAR0}`
|
|
TEMP_DIR="${HOME_DIR}/temp"
|
|
SQL_DIR="${HOME_DIR}/sql"
|
|
|
|
docker build -t reso-builder -f docker/docker-builder .
|
|
docker run --name builder --mount type=bind,source="${HOME_DIR}",target=/usr/src/app -t reso-builder
|
|
|
|
if ! docker-compose build
|
|
then
|
|
echo "docker-compose could not be found. You may need to install with pip."
|
|
exit
|
|
fi |