Private GIT

Skip to content
Snippets Groups Projects
Commit 1a35c22d authored by vx3r's avatar vx3r
Browse files

git-describe needs .git

parent 1d599c40
Branches
Tags
No related merge requests found
......@@ -8,6 +8,7 @@ WORKDIR /app
COPY ui/package*.json ./
RUN npm install
COPY ui/ ./
COPY .git .
RUN npm run build
FROM alpine
......
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: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment