Set Dockerfiles to use Node v16.10.0
This commit is contained in:
		
							parent
							
								
									eaed87337b
								
							
						
					
					
						commit
						0c9c69cfc4
					
				@ -1,4 +1,4 @@
 | 
			
		||||
FROM node:12-buster-slim AS builder
 | 
			
		||||
FROM node:16.10.0-buster-slim AS builder
 | 
			
		||||
 | 
			
		||||
WORKDIR /build
 | 
			
		||||
COPY . .
 | 
			
		||||
@ -8,7 +8,7 @@ RUN apt-get install -y build-essential python3 pkg-config
 | 
			
		||||
RUN npm install
 | 
			
		||||
RUN npm run build
 | 
			
		||||
 | 
			
		||||
FROM node:12-buster-slim
 | 
			
		||||
FROM node:16.10.0-buster-slim
 | 
			
		||||
 | 
			
		||||
WORKDIR /backend
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
FROM node:12-buster-slim AS builder
 | 
			
		||||
FROM node:16.10.0-buster-slim AS builder
 | 
			
		||||
 | 
			
		||||
ARG commitHash
 | 
			
		||||
ENV DOCKER_COMMIT_HASH=${commitHash}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user