feat: add build script for docker image
This commit is contained in:
		
							
								
								
									
										4
									
								
								build-docker-image.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								build-docker-image.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Build Docker image for Voice RSS Summary project
 | 
				
			||||||
 | 
					docker build -t voice-rss-summary .
 | 
				
			||||||
							
								
								
									
										12
									
								
								run-docker.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										12
									
								
								run-docker.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@@ -2,9 +2,9 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Run Docker container with volume mounts for feed_urls.txt and .env
 | 
					# Run Docker container with volume mounts for feed_urls.txt and .env
 | 
				
			||||||
docker run \
 | 
					docker run \
 | 
				
			||||||
  --volume "$(pwd)/feed_urls.txt:/app/feed_urls.txt" \
 | 
						--volume "$(pwd)/feed_urls.txt:/app/feed_urls.txt" \
 | 
				
			||||||
  --volume "$(pwd)/.env:/app/.env" \
 | 
						--volume "$(pwd)/.env:/app/.env" \
 | 
				
			||||||
  --publish 3000:3000 \
 | 
						--publish 3000:3000 \
 | 
				
			||||||
  --tty \
 | 
						--tty \
 | 
				
			||||||
  --interactive \
 | 
						--interactive \
 | 
				
			||||||
  voice-rss-summary
 | 
						voice-rss-summary
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user