Add app version to build

This commit is contained in:
Alan Grainger
2024-11-03 15:19:12 +01:00
parent da5930fab1
commit 89c67a6423
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"scripts": {
"dev": "ts-node src/index.ts",
"build": "npx tsc",
"test": "podman build --format docker -t immich-proxy-test .. && podman run --init -it -p=3000:3000 --env-file .env immich-proxy-test",
"test": "podman build --build-arg PACKAGE_VERSION=$(npm pkg get version | xargs) --format docker -t immich-proxy-test .. && podman run --init -it -p=3000:3000 --env-file .env immich-proxy-test",
"start": "node dist/index.js"
},
"author": "Alan Grainger",