mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-10-31 06:24:02 +00:00 
			
		
		
		
	bump node:alpine to latest
This commit is contained in:
		
							parent
							
								
									aa77a274c3
								
							
						
					
					
						commit
						f5bef651d8
					
				| @ -1,7 +1,7 @@ | ||||
| # syntax = docker/dockerfile:latest | ||||
| 
 | ||||
| # Install dependencies only when needed | ||||
| FROM node:16-alpine AS deps | ||||
| FROM node:latest-alpine AS deps | ||||
| 
 | ||||
| WORKDIR /app | ||||
| 
 | ||||
| @ -19,7 +19,7 @@ RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm f | ||||
| RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm install -r --offline | ||||
| 
 | ||||
| # Rebuild the source code only when needed | ||||
| FROM node:16-alpine AS builder | ||||
| FROM node:latest-alpine AS builder | ||||
| WORKDIR /app | ||||
| 
 | ||||
| COPY --link --from=deps /app/node_modules ./node_modules/ | ||||
| @ -32,7 +32,7 @@ RUN <<EOF | ||||
| EOF | ||||
| 
 | ||||
| # Production image, copy all the files and run next | ||||
| FROM node:16-alpine AS runner | ||||
| FROM node:latest-alpine AS runner | ||||
| LABEL org.opencontainers.image.title "Homepage" | ||||
| LABEL org.opencontainers.image.description "A self-hosted services landing page, with docker and service integrations." | ||||
| LABEL org.opencontainers.image.url="https://github.com/benphelps/homepage" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ben Phelps
						Ben Phelps