aboutsummaryrefslogtreecommitdiff
path: root/setup/docker
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-25 11:13:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-25 11:13:09 +1300
commit6dc245d2082b7f0a4f440b817ce9c8455f441f93 (patch)
tree0adcaa593047515691acbe73a0876b8a3364d041 /setup/docker
parentd094946545b810fa82b2392d8e9dbe69d0ada891 (diff)
downloadtraccar-server-6dc245d2082b7f0a4f440b817ce9c8455f441f93.tar.gz
traccar-server-6dc245d2082b7f0a4f440b817ce9c8455f441f93.tar.bz2
traccar-server-6dc245d2082b7f0a4f440b817ce9c8455f441f93.zip
Add templates folder to docker
Diffstat (limited to 'setup/docker')
-rw-r--r--setup/docker/Dockerfile1
-rwxr-xr-xsetup/docker/build.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/setup/docker/Dockerfile b/setup/docker/Dockerfile
index 912ea4fd5..d86b078c1 100644
--- a/setup/docker/Dockerfile
+++ b/setup/docker/Dockerfile
@@ -15,6 +15,7 @@ ENV JAVA_OPTS -Xms256m -Xmx1024m
COPY ./tmp/traccar.xml /opt/traccar/traccar.xml
COPY ./tmp/default.xml /opt/traccar/conf/default.xml
COPY ./tmp/schema /opt/traccar/schema
+COPY ./tmp/templates /opt/traccar/templates
COPY ./tmp/web /opt/traccar/web
COPY ./tmp/lib /opt/traccar/lib
COPY ./tmp/traccar-server.jar /opt/traccar/traccar-server.jar
diff --git a/setup/docker/build.sh b/setup/docker/build.sh
index f32335ead..eedc633bc 100755
--- a/setup/docker/build.sh
+++ b/setup/docker/build.sh
@@ -16,6 +16,7 @@ mkdir -p ${tmp}
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 ./templates ${tmp}/templates
cp -rf ./target/tracker-server.jar ${tmp}/traccar-server.jar
cp -rf ./target/lib ${tmp}/lib
if [ -d ./traccar-web/web ]; then