Opera8 commited on
Commit
cb61d2d
·
verified ·
1 Parent(s): 8cefa2b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,7 +1,9 @@
1
  FROM python:3.10-slim
2
 
3
- RUN apt-get update && apt-get install -y wget unzip
 
4
 
 
5
  RUN wget https://github.com/XTLS/Xray-core/releases/download/v1.8.4/Xray-linux-64.zip && \
6
  unzip Xray-linux-64.zip && \
7
  chmod +x xray && \
@@ -9,6 +11,7 @@ RUN wget https://github.com/XTLS/Xray-core/releases/download/v1.8.4/Xray-linux-6
9
 
10
  COPY app.py .
11
 
 
12
  EXPOSE 7860
13
 
14
  CMD ["python", "app.py"]
 
1
  FROM python:3.10-slim
2
 
3
+ # نصب Nginx (پلیس ترافیک) و ابزارهای لازم
4
+ RUN apt-get update && apt-get install -y wget unzip nginx
5
 
6
+ # دانلود Xray
7
  RUN wget https://github.com/XTLS/Xray-core/releases/download/v1.8.4/Xray-linux-64.zip && \
8
  unzip Xray-linux-64.zip && \
9
  chmod +x xray && \
 
11
 
12
  COPY app.py .
13
 
14
+ # پورت اصلی هاگینگ فیس
15
  EXPOSE 7860
16
 
17
  CMD ["python", "app.py"]