Compare commits

...

2 Commits

Author SHA1 Message Date
ycg
123406bafb 111 2025-11-17 13:21:43 +08:00
ycg
49a7621ab5 111 2025-11-17 13:21:21 +08:00
2 changed files with 3 additions and 4 deletions

View File

@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
# 复制依赖文件
COPY requirements.txt .
COPY ../requirements.txt .
# 安装Python依赖
RUN pip install --no-cache-dir -r requirements.txt

View File

@ -2,14 +2,13 @@ version: '3.8'
services:
stock-monitor:
build:
context: ..
build:
dockerfile: docker/Dockerfile
container_name: stock-monitor
ports:
- "8000:8000"
volumes:
- /vol1/1000/Docker/stock_montior/stock-montior:/app
- /vol1/1000/Docker/stock_monitor/stock-monitor:/app
environment:
- PYTHONUNBUFFERED=1
restart: unless-stopped