aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rwxr-xr-xsetup/docker/build.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index b9f4a91bf..376bb296a 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ $ ./setup/docker/build.sh
Running docker container based on this images:
-$ docker run --name traccar -ti -p 8082:8082 -p 5000-5150:5000-5150 tananaev/traccar:<TAG>
+$ docker run --name traccar -p 8082:8082 -p 5000-5150:5000-5150 tananaev/traccar:<TAG>
## Team
diff --git a/setup/docker/build.sh b/setup/docker/build.sh
index 59280aaff..56d6fc518 100755
--- a/setup/docker/build.sh
+++ b/setup/docker/build.sh
@@ -13,7 +13,7 @@ tmp="./setup/docker/tmp"
mkdir -p ${tmp}
-cat ./setup/traccar.xml | awk '/web.path/ && !modif { printf(" <entry key=\"web.debug\">true</entry>\n"); modif=1 } {print}' > ${tmp}/traccar.xml
+cat ./setup/traccar.xml | awk '/config.default/ && !modif { print;printf(" <entry key=\"web.debug\">true</entry>\n");next; modif=1 } {print}' > ${tmp}/traccar.xml
cp -rf ./setup/default.xml ${tmp}
cp -rf ./schema ${tmp}/schema
cp -rf ./target/tracker-server.jar ${tmp}/traccar-server.jar