Docker file fix and version in docker return proper envvar
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@ const fs = require('fs');
|
||||
|
||||
|
||||
const version = () => {
|
||||
if (process.env.VERSION) {
|
||||
return process.env.VERSION;
|
||||
if (process.env.APP_VERSION) {
|
||||
return process.env.APP_VERSION;
|
||||
}
|
||||
// Fallback to reading from a VERSION file
|
||||
const versionPath = require('path').resolve(__dirname, '../../VERSION');
|
||||
|
||||
Reference in New Issue
Block a user