mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	chore(docker): Default NODE_ENV to production for server image and update alpine version (#2157)
* default NODE_ENV to production for server image * update node image to use 3.17 alpine in server * update web docker image to use alpine 3.17 * remove NODE_ENV from production docker-compose * NODE_ENV is also needed default in machine-learning
This commit is contained in:
		@@ -9,8 +9,6 @@ services:
 | 
			
		||||
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
 | 
			
		||||
    env_file:
 | 
			
		||||
      - .env
 | 
			
		||||
    environment:
 | 
			
		||||
      - NODE_ENV=production
 | 
			
		||||
    depends_on:
 | 
			
		||||
      - redis
 | 
			
		||||
      - database
 | 
			
		||||
@@ -25,8 +23,6 @@ services:
 | 
			
		||||
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
 | 
			
		||||
    env_file:
 | 
			
		||||
      - .env
 | 
			
		||||
    environment:
 | 
			
		||||
      - NODE_ENV=production
 | 
			
		||||
    depends_on:
 | 
			
		||||
      - redis
 | 
			
		||||
      - database
 | 
			
		||||
@@ -41,8 +37,6 @@ services:
 | 
			
		||||
      - model-cache:/cache
 | 
			
		||||
    env_file:
 | 
			
		||||
      - .env
 | 
			
		||||
    environment:
 | 
			
		||||
      - NODE_ENV=production
 | 
			
		||||
    restart: always
 | 
			
		||||
 | 
			
		||||
  immich-web:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user