Update
This commit is contained in:
		@@ -14,9 +14,10 @@ COPY . .
 | 
			
		||||
RUN bun install
 | 
			
		||||
 | 
			
		||||
RUN bun run build:frontend
 | 
			
		||||
RUN bun run build:admin
 | 
			
		||||
 | 
			
		||||
# Expose the port your app runs on
 | 
			
		||||
EXPOSE 3000
 | 
			
		||||
# Expose the ports your app runs on
 | 
			
		||||
EXPOSE 3000 3001
 | 
			
		||||
 | 
			
		||||
# Command to run the application
 | 
			
		||||
CMD ["bun", "run", "/app/server.ts"]
 | 
			
		||||
# Start both servers
 | 
			
		||||
CMD ["sh", "-c", "bun run /app/server.ts & bun run /app/admin-server.ts & wait"]
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,7 @@ docker run \
 | 
			
		||||
	--volume "$(pwd)/public:/app/public" \
 | 
			
		||||
	--volume "$(pwd)/data:/app/data" \
 | 
			
		||||
	--publish 3000:3000 \
 | 
			
		||||
	--publish 3001:3001 \
 | 
			
		||||
	--name voice-rss-summary \
 | 
			
		||||
	-d \
 | 
			
		||||
	--restart always \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user