111
This commit is contained in:
parent
7a676b425c
commit
49a7621ab5
@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# 复制依赖文件
|
# 复制依赖文件
|
||||||
COPY requirements.txt .
|
COPY ../requirements.txt .
|
||||||
|
|
||||||
# 安装Python依赖
|
# 安装Python依赖
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|||||||
@ -3,7 +3,6 @@ version: '3.8'
|
|||||||
services:
|
services:
|
||||||
stock-monitor:
|
stock-monitor:
|
||||||
build:
|
build:
|
||||||
context: ..
|
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
container_name: stock-monitor
|
container_name: stock-monitor
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user