chore: dockerfile
							parent
							
								
									1920aa81e0
								
							
						
					
					
						commit
						635a39ca8a
					
				| 
						 | 
					@ -0,0 +1,17 @@
 | 
				
			||||||
 | 
					# Use the oven/bun:1 base image
 | 
				
			||||||
 | 
					FROM oven/bun:1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Set the working directory to /app
 | 
				
			||||||
 | 
					WORKDIR /app
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Create a startup script
 | 
				
			||||||
 | 
					COPY static static
 | 
				
			||||||
 | 
					COPY views views
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					COPY *.ts .
 | 
				
			||||||
 | 
					COPY *.json .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN bun install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Run the startup script when the container starts
 | 
				
			||||||
 | 
					CMD ["bun", "run", "index.ts"]
 | 
				
			||||||
		Loading…
	
		Reference in New Issue