mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2024-11-22 02:31:57 +01:00
git-describe needs .git
This commit is contained in:
parent
1d599c401b
commit
1a35c22d59
@ -8,6 +8,7 @@ WORKDIR /app
|
||||
COPY ui/package*.json ./
|
||||
RUN npm install
|
||||
COPY ui/ ./
|
||||
COPY .git .
|
||||
RUN npm run build
|
||||
|
||||
FROM alpine
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user