Update Dofckerfile sveltekit node.md
This commit is contained in:
		
							parent
							
								
									584049dd9d
								
							
						
					
					
						commit
						7998cf8f55
					
				| 
						 | 
					@ -15,11 +15,10 @@ COPY pnpm-lock.yaml ./
 | 
				
			||||||
RUN pnpm fetch
 | 
					RUN pnpm fetch
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY . .
 | 
					COPY . .
 | 
				
			||||||
# Install production dependencies
 | 
					RUN pnpm install --offline --prod --frozen-lockfile
 | 
				
			||||||
RUN pnpm install -r --offline --prod --frozen-lockfile
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install dev dependencies (needed for the build step)
 | 
					# Install dev dependencies
 | 
				
			||||||
RUN pnpm install -r --offline --frozen-lockfile
 | 
					RUN pnpm install --offline --frozen-lockfile
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Build
 | 
					# Build
 | 
				
			||||||
ENV NODE_ENV=production
 | 
					ENV NODE_ENV=production
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user