This commit is contained in:
aaron 2025-04-29 12:02:05 +08:00
parent 489c17db66
commit ab2fe08b18
2 changed files with 3 additions and 3 deletions

View File

@ -51,5 +51,5 @@ ENV PYTHONPATH=/app
RUN mkdir -p /app/cryptoai/data /app/cryptoai/logs
# 设置入口点
ENTRYPOINT ["python"]
CMD ["run.py"]
ENTRYPOINT []
CMD ["python", "run.py"]

View File

@ -6,7 +6,7 @@ services:
context: .
dockerfile: Dockerfile
container_name: cryptoai
image: cryptoai:0.0.1
image: cryptoai:0.0.2
restart: unless-stopped
volumes:
# 挂载配置文件