Aleksmorshen commited on
Commit
56243df
·
verified ·
1 Parent(s): 359498b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -5,6 +5,12 @@ FROM python:3.9-slim
5
  COPY requirements.txt requirements.txt
6
  RUN pip install -r requirements.txt
7
 
 
 
 
 
 
 
8
  # Копируем приложение
9
  COPY app.py /app/app.py
10
 
 
5
  COPY requirements.txt requirements.txt
6
  RUN pip install -r requirements.txt
7
 
8
+ # Создание рабочей директории и настройка прав доступа
9
+ WORKDIR /app
10
+
11
+ # Убедитесь, что контейнер имеет права на запись в текущую директорию
12
+ RUN chmod -R 777 /app
13
+
14
  # Копируем приложение
15
  COPY app.py /app/app.py
16