Fix path to Sahana Dockerfile for Sahana-Demo and SAMBRO
This commit is contained in:
parent
435730095c
commit
7db69ccf13
@ -9,7 +9,7 @@ docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
|
|||||||
service postgres start
|
service postgres start
|
||||||
|
|
||||||
# Build Docker container
|
# Build Docker container
|
||||||
docker build -t sahana ${SOURCE_DIR}
|
docker build -t sahana $(realpath $(dirname "${0}"))/sahana
|
||||||
envsubst <${SOURCE_DIR}/etc/init.d/sahana-demo >/etc/init.d/sahana-demo
|
envsubst <${SOURCE_DIR}/etc/init.d/sahana-demo >/etc/init.d/sahana-demo
|
||||||
chmod +x /etc/init.d/sahana-demo
|
chmod +x /etc/init.d/sahana-demo
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
|
|||||||
service postgres start
|
service postgres start
|
||||||
|
|
||||||
# Build Docker container
|
# Build Docker container
|
||||||
docker build -t sahana ${SOURCE_DIR}
|
docker build -t sahana $(realpath $(dirname "${0}"))/sahana
|
||||||
cp ${SOURCE_DIR}/etc/init.d/sambro /etc/init.d/sambro
|
cp ${SOURCE_DIR}/etc/init.d/sambro /etc/init.d/sambro
|
||||||
rc-update -u
|
rc-update -u
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user