mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2024-12-18 00:13:23 +00:00
git-describe needs .git
This commit is contained in:
parent
1d599c401b
commit
1a35c22d59
@ -8,6 +8,7 @@ WORKDIR /app
|
|||||||
COPY ui/package*.json ./
|
COPY ui/package*.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
COPY ui/ ./
|
COPY ui/ ./
|
||||||
|
COPY .git .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
const {gitDescribe, gitDescribeSync} = require('git-describe');
|
const {gitDescribe, gitDescribeSync} = require('git-describe');
|
||||||
process.env.VUE_APP_GIT_HASH = gitDescribeSync().hash
|
process.env.VUE_APP_GIT_HASH = gitDescribeSync().hash;
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
devServer: {
|
devServer: {
|
||||||
|
Loading…
Reference in New Issue
Block a user