aboutsummaryrefslogtreecommitdiff
path: root/setup/docker/build.sh
diff options
context:
space:
mode:
authorbvoudenaarde <oudenaar@gmail.com>2016-11-21 14:41:28 +0100
committerbvoudenaarde <oudenaar@gmail.com>2016-11-21 14:41:28 +0100
commite2ba4c0793489f40a48555c34fce32ad5e19db6b (patch)
treee179637f9622d0ea43ac35ea2f77eb1696521805 /setup/docker/build.sh
parent82f51b570a0957587b25b48fdb5cfd21c4b14e9d (diff)
downloadtrackermap-server-e2ba4c0793489f40a48555c34fce32ad5e19db6b.tar.gz
trackermap-server-e2ba4c0793489f40a48555c34fce32ad5e19db6b.tar.bz2
trackermap-server-e2ba4c0793489f40a48555c34fce32ad5e19db6b.zip
small fixes getting image build again
Diffstat (limited to 'setup/docker/build.sh')
-rwxr-xr-x[-rw-r--r--]setup/docker/build.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/setup/docker/build.sh b/setup/docker/build.sh
index 31ee60a03..59280aaff 100644..100755
--- a/setup/docker/build.sh
+++ b/setup/docker/build.sh
@@ -13,12 +13,13 @@ tmp="./setup/docker/tmp"
mkdir -p ${tmp}
-cat ./setup/unix/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 '/web.path/ && !modif { printf(" <entry key=\"web.debug\">true</entry>\n"); 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
cp -rf ./target/lib ${tmp}/lib
-cp -rf ./web ${tmp}/web
+cp -rf ./traccar-web/web ${tmp}/web
docker build -t ${company}/${software}:${version} ./setup/docker/
-rm -rf ${tmp} \ No newline at end of file
+rm -rf ${tmp}