limenous commited on
Commit
a5f41b5
·
1 Parent(s): 051c692

Fix directory permissions for watermarked_images

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -4,6 +4,9 @@ FROM python:3.10-slim
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
 
 
 
7
  # Copy the current directory contents into the container at /app
8
  COPY . /app
9
 
 
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
7
+ # Ensure the necessary directories exist and set proper permissions
8
+ RUN mkdir -p /app/static/watermarked_images && chmod -R 777 /app/static/watermarked_images
9
+
10
  # Copy the current directory contents into the container at /app
11
  COPY . /app
12