ciyidogan commited on
Commit
e910eca
·
verified ·
1 Parent(s): e1d0219

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -4,6 +4,12 @@ FROM python:3.10-slim
4
  RUN mkdir -p /app /model && chmod -R 777 /app /model
5
  WORKDIR /app
6
 
 
 
 
 
 
 
7
  # Sistem bağımlılıkları
8
  RUN apt-get update && apt-get install -y git build-essential cmake
9
 
 
4
  RUN mkdir -p /app /model && chmod -R 777 /app /model
5
  WORKDIR /app
6
 
7
+ # Triton cache için dizin yarat
8
+ RUN mkdir -p /tmp/.triton && chmod -R 777 /tmp/.triton
9
+
10
+ # Ortam değişkeni tanımla
11
+ ENV TRITON_CACHE_DIR=/tmp/.triton
12
+
13
  # Sistem bağımlılıkları
14
  RUN apt-get update && apt-get install -y git build-essential cmake
15