letterm commited on
Commit
d1f32b0
·
verified ·
1 Parent(s): 5a1e857

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -4
Dockerfile CHANGED
@@ -2,15 +2,11 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
5
- # 直接复制可执行文件
6
  COPY main /app/main
7
 
8
- # 设置执行权限
9
  RUN chmod +x /app/main
10
 
11
- # 设置端口和运行权限
12
  ENV PORT=7860
13
  EXPOSE 7860
14
 
15
- # 直接运行
16
  CMD ["/app/main"]
 
2
 
3
  WORKDIR /app
4
 
 
5
  COPY main /app/main
6
 
 
7
  RUN chmod +x /app/main
8
 
 
9
  ENV PORT=7860
10
  EXPOSE 7860
11
 
 
12
  CMD ["/app/main"]