radussad commited on
Commit
4bba491
·
verified ·
1 Parent(s): af591f1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -2,6 +2,9 @@ FROM python:3.9
2
 
3
  WORKDIR /app
4
 
 
 
 
5
  # Install dependencies
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
 
2
 
3
  WORKDIR /app
4
 
5
+ # Ensure the 'data' directory exists and set proper permissions
6
+ RUN mkdir -p /app/data && chmod -R 777 /app/data
7
+
8
  # Install dependencies
9
  COPY requirements.txt .
10
  RUN pip install --no-cache-dir -r requirements.txt