forked from mirrors/amnezia-wg-easy
		
	node v20 → v18
This commit is contained in:
		
							parent
							
								
									94d0016674
								
							
						
					
					
						commit
						12c69ee949
					
				
					 5 changed files with 7 additions and 7 deletions
				
			
		
							
								
								
									
										2
									
								
								.github/workflows/lint.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/lint.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -15,7 +15,7 @@ jobs:
 | 
			
		|||
      - uses: actions/checkout@v2
 | 
			
		||||
      - uses: actions/setup-node@v1
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: '20'
 | 
			
		||||
          node-version: '18'
 | 
			
		||||
 | 
			
		||||
      - run: |
 | 
			
		||||
          cd src
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
FROM docker.io/library/node:20-alpine AS build_node_modules
 | 
			
		||||
FROM docker.io/library/node:18-alpine AS build_node_modules
 | 
			
		||||
 | 
			
		||||
# Copy Web UI
 | 
			
		||||
COPY src/ /app/
 | 
			
		||||
| 
						 | 
				
			
			@ -7,7 +7,7 @@ RUN npm ci --production
 | 
			
		|||
 | 
			
		||||
# Copy build result to a new image.
 | 
			
		||||
# This saves a lot of disk space.
 | 
			
		||||
FROM docker.io/library/node:20-alpine
 | 
			
		||||
FROM docker.io/library/node:18-alpine
 | 
			
		||||
COPY --from=build_node_modules /app /app
 | 
			
		||||
 | 
			
		||||
# Move node_modules one directory up, so during development
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,5 +6,5 @@
 | 
			
		|||
  "5": "Many small improvements & feature requests. Enjoy!",
 | 
			
		||||
  "6": "Many small performance improvements & bug fixes. Enjoy!",
 | 
			
		||||
  "7": "Improved the look & performance of the upload/download chart.",
 | 
			
		||||
  "8": "Updated to Node.js v20."
 | 
			
		||||
  "8": "Updated to Node.js v18."
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										4
									
								
								src/package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								src/package-lock.json
									
										
									
										generated
									
									
									
								
							| 
						 | 
				
			
			@ -20,7 +20,7 @@
 | 
			
		|||
        "eslint-config-athom": "^2.1.0"
 | 
			
		||||
      },
 | 
			
		||||
      "engines": {
 | 
			
		||||
        "node": "20"
 | 
			
		||||
        "node": "18"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@aashutoshrathi/word-wrap": {
 | 
			
		||||
| 
						 | 
				
			
			@ -3774,4 +3774,4 @@
 | 
			
		|||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -23,6 +23,6 @@
 | 
			
		|||
    "eslint-config-athom": "^2.1.0"
 | 
			
		||||
  },
 | 
			
		||||
  "engines": {
 | 
			
		||||
    "node": "20"
 | 
			
		||||
    "node": "18"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue