If symposion-tools is found, back up the db
This commit is contained in:
parent
b366c7809e
commit
a0c6dffd87
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
CONTAINER_NAME=${1:-symposion_app}
|
CONTAINER_NAME=${1:-symposion_app}
|
||||||
|
|
||||||
|
if [ -e ./symposion-tools ]; then
|
||||||
|
pushd ./symposion-tools
|
||||||
|
./save_db_from_docker.sh
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
docker image build -f docker/Dockerfile -t ${CONTAINER_NAME} --target symposion_dev .
|
docker image build -f docker/Dockerfile -t ${CONTAINER_NAME} --target symposion_dev .
|
||||||
docker container stop symposion
|
docker container stop symposion
|
||||||
docker container rm symposion
|
docker container rm symposion
|
||||||
|
|
Loading…
Reference in a new issue