DarkMo0o commited on
Commit
09ca6c8
·
verified ·
1 Parent(s): 874ec93

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -10
Dockerfile CHANGED
@@ -1,3 +1,4 @@
 
1
  FROM python:3.10-slim
2
 
3
  ENV PYTHONUNBUFFERED=1
@@ -16,20 +17,12 @@ RUN apt-get update && apt-get install -y \
16
  mesa-vulkan-drivers \
17
  git \
18
  wget \
19
- execstack \
20
  && rm -rf /var/lib/apt/lists/*
21
-
22
  WORKDIR /app
23
-
24
  COPY requirements.txt .
25
-
26
  RUN pip install --no-cache-dir -r requirements.txt
27
-
28
- # إزالة علامة executable stack من مكتبة onnxruntime
29
- RUN execstack -c /usr/local/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_pybind11_state.cpython-310-x86_64-linux-gnu.so
30
-
31
  COPY app.py .
32
-
33
  EXPOSE 7860
34
 
35
- CMD ["python", "app.py"]
 
1
+
2
  FROM python:3.10-slim
3
 
4
  ENV PYTHONUNBUFFERED=1
 
17
  mesa-vulkan-drivers \
18
  git \
19
  wget \
 
20
  && rm -rf /var/lib/apt/lists/*
21
+
22
  WORKDIR /app
 
23
  COPY requirements.txt .
 
24
  RUN pip install --no-cache-dir -r requirements.txt
 
 
 
 
25
  COPY app.py .
 
26
  EXPOSE 7860
27
 
28
+ CMD ["python", "app.py"]