File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 55DISTRO_DIR=" ${1:- ../ target/ distro} "
66
77echo " 🚀 Starting OpenMRS in Docker from $DISTRO_DIR ..."
8- docker-compose -f " $DISTRO_DIR /docker-compose.yml" up -d web
8+ # Fix the auto-generated Dockerfile base image tag (nightly-amazoncorretto-11 was removed from Docker Hub)
9+ sed -i.bak ' s|openmrs/openmrs-core:nightly-amazoncorretto-11|openmrs/openmrs-core:2.8.x|g' " $DISTRO_DIR /web/Dockerfile" && rm -f " $DISTRO_DIR /web/Dockerfile.bak"
10+ docker-compose -f " $DISTRO_DIR /docker-compose.yml" up -d --build web
911
1012# Wait for OpenMRS to start (max 180 seconds)
1113echo " ⏳ Waiting for OpenMRS to initialize..."
1214START_TIME=$( date +%s)
13- TIMEOUT=180
15+ TIMEOUT=600
1416
1517while true ; do
1618 if command -v curl & > /dev/null; then
You can’t perform that action at this time.
0 commit comments