Rfym21 commited on
Commit
17c4334
·
verified ·
1 Parent(s): d080677

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 使用指定的基础镜像
2
+ FROM snailyc/blackbox2api:latest
3
+
4
+ # 设置环境变量
5
+ ENV PORT=8001 \
6
+ APP_SECRET=Rfym21
7
+
8
+ # 暴露端口 8001
9
+ EXPOSE 8001
10
+
11
+ # 启动命令
12
+ CMD ["python", "main.py"]