EL GHAFRAOUI AYOUB commited on
Commit
e6b6aa3
·
1 Parent(s): f816820
Files changed (2) hide show
  1. Dockerfile +3 -0
  2. app/data/sql_app.db +0 -0
Dockerfile CHANGED
@@ -13,6 +13,9 @@ RUN pip install --no-cache-dir -r requirements.txt
13
  # Copy the rest of the application
14
  COPY . .
15
 
 
 
 
16
  # Create a non-root user
17
  RUN useradd -m myuser
18
  USER myuser
 
13
  # Copy the rest of the application
14
  COPY . .
15
 
16
+ # Set proper permissions for the database directory
17
+ RUN mkdir -p /app/data && chmod 777 /app/data
18
+
19
  # Create a non-root user
20
  RUN useradd -m myuser
21
  USER myuser
app/data/sql_app.db ADDED
Binary file (28.7 kB). View file