Set $NODE_ENV according to the image purpose during Docker build (#1088)

* Set $NODE_ENV according to the image purpose during Docker build

* Move `husky` from dev-deps to prod-deps, as it is used during prod `npm ci`

---------

Co-authored-by: Konstantin Koval <kkb@ukr.net>
This commit is contained in:
Kostiantyn
2024-10-04 12:20:49 +03:00
committed by GitHub
parent 7057643b5d
commit ff009a6ae6
6 changed files with 37 additions and 31 deletions

View File

@@ -105,6 +105,8 @@ jobs:
tags: photoview/ui
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
NODE_ENV=testing
- name: Test
id: test