burask commited on
Commit
e0fd2e3
·
verified ·
1 Parent(s): 8b6a8fd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -20,6 +20,9 @@ RUN pip install --no-cache-dir -r /app/requirements.txt
20
  COPY . /app
21
  WORKDIR /app
22
 
 
 
 
23
  # Uygulamayı çalıştır
24
  CMD ["python", "app.py"]
25
 
 
20
  COPY . /app
21
  WORKDIR /app
22
 
23
+ # uploads klasörünü oluştur ve izinleri ayarla
24
+ RUN mkdir -p /app/uploads && chmod 777 /app/uploads
25
+
26
  # Uygulamayı çalıştır
27
  CMD ["python", "app.py"]
28