feat: enhance Dockerfile and docker-compose for improved build output handling and service configuration

This commit is contained in:
yuanhau 2025-05-09 23:13:30 +08:00
parent a0b3438781
commit f17aea24cd
3 changed files with 48 additions and 42 deletions

View file

@ -1,10 +1,10 @@
version: '3.8'
services:
app:
newsanalyze-service:
build: .
ports:
- "3000:3000"
- "127.0.0.1:36694:3000"
environment:
- NODE_ENV=production
restart: unless-stopped