chore: update dockerfile (#1754)
* chore: update dockerfile * chore: update
This commit is contained in:
		
							parent
							
								
									e9c5ea415c
								
							
						
					
					
						commit
						60b818fd3c
					
				@ -41,7 +41,7 @@ RUN cd /app \
 | 
				
			|||||||
  && tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app .
 | 
					  && tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM node:18-bullseye-slim
 | 
					FROM node:16.20-bullseye-slim
 | 
				
			||||||
RUN apt-get update && apt-get install -y nginx
 | 
					RUN apt-get update && apt-get install -y nginx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN rm -rf /etc/nginx/sites-enabled/default
 | 
					RUN rm -rf /etc/nginx/sites-enabled/default
 | 
				
			||||||
 | 
				
			|||||||
@ -46,7 +46,7 @@ RUN cd /app \
 | 
				
			|||||||
  && tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app .
 | 
					  && tar -zcf ./nocobase.tar.gz -C /app/my-nocobase-app .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM node:16-stretch-slim
 | 
					FROM node:16.20-bullseye-slim
 | 
				
			||||||
RUN apt-get update && apt-get install -y nginx
 | 
					RUN apt-get update && apt-get install -y nginx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN rm -rf /etc/nginx/sites-enabled/default
 | 
					RUN rm -rf /etc/nginx/sites-enabled/default
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user