tejani commited on
Commit
db831f5
·
verified ·
1 Parent(s): fb9e12b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -11,9 +11,12 @@ WORKDIR /app
11
  # Clone the FastSD CPU repository
12
  RUN git clone https://github.com/rupeshs/fastsdcpu.git .
13
 
14
- # Install Python dependencies
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
16
 
 
 
 
17
  # Expose port for FastAPI server
18
  EXPOSE 8000
19
 
 
11
  # Clone the FastSD CPU repository
12
  RUN git clone https://github.com/rupeshs/fastsdcpu.git .
13
 
14
+ # Install Python dependencies from cloned repo's requirements.txt
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
16
 
17
+ # Create results directory with proper permissions
18
+ RUN mkdir -p /app/results && chmod -R 775 /app/results
19
+
20
  # Expose port for FastAPI server
21
  EXPOSE 8000
22