Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Commit 0b7a140

Browse files
Merge pull request #54 from HenryXiaoYang/dev
一些问题修复
2 parents 4b78378 + f6f4339 commit 0b7a140

File tree

3 files changed

+153
-149
lines changed

3 files changed

+153
-149
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ COPY . .
2929

3030
# 创建启动脚本
3131
RUN echo '#!/bin/bash\n\
32-
# 启动Redis服务\n\
3332
redis-server /etc/redis/redis.conf --daemonize yes\n\
34-
# 执行主程序 - 使用gunicorn和eventlet\n\
35-
exec python -m gunicorn --worker-class eventlet app:app --bind 0.0.0.0:9999' > /app/start.sh \
33+
python app.py' > /app/start.sh \
3634
&& chmod +x /app/start.sh
3735

3836
# 设置启动命令

0 commit comments

Comments
 (0)