diff --git a/Dockerfile b/Dockerfile
index a9cdaaac7a728a530d7661a72c98df186363a76e..18ffbdccd2b59aff0750867c5b521030e892792b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,6 +8,7 @@ WORKDIR /app
 COPY ui/package*.json ./
 RUN npm install
 COPY ui/ ./
+COPY .git .
 RUN npm run build
 
 FROM alpine
diff --git a/ui/vue.config.js b/ui/vue.config.js
index e72673ee7090997b4483972f74bd07d8e08f91c1..64b7ac61fd2b36ae19857a0555e8b08874f5bb55 100644
--- a/ui/vue.config.js
+++ b/ui/vue.config.js
@@ -1,5 +1,5 @@
 const {gitDescribe, gitDescribeSync} = require('git-describe');
-process.env.VUE_APP_GIT_HASH = gitDescribeSync().hash
+process.env.VUE_APP_GIT_HASH = gitDescribeSync().hash;
 
 module.exports = {
   devServer: {