diff --git a/Dockerfile b/Dockerfile index f7f5bff..86d1254 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apk add -U --upgrade --no-cache gettext RUN yarn global add elm elm-test uglify-js COPY ./frontend/build.sh ./build.sh -COPY ./frontend/index.html ./index.html +COPY ./frontend/template.html ./template.html COPY ./frontend/elm.json ./elm.json COPY ./frontend/src ./src COPY ./frontend/tests ./tests diff --git a/frontend/build.sh b/frontend/build.sh index 061664d..0d058e7 100755 --- a/frontend/build.sh +++ b/frontend/build.sh @@ -28,7 +28,7 @@ rename_with_hash() { create_index() { sha1=${1} - SHA1="${sha1}" envsubst < index.html > "${outdir}/index.html" + SHA1="${sha1}" envsubst < template.html > "${outdir}/index.html" } prepare diff --git a/frontend/template.html b/frontend/template.html new file mode 100644 index 0000000..c2d7250 --- /dev/null +++ b/frontend/template.html @@ -0,0 +1,16 @@ + + +
+ +