t3k45h1 commited on
Commit
262ba70
·
verified ·
1 Parent(s): 4cd008b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -17,5 +17,8 @@ COPY . .
17
  # Expose the port FastAPI will run on
18
  EXPOSE 7860
19
 
 
 
 
20
  # Run FastAPI app via uvicorn
21
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
17
  # Expose the port FastAPI will run on
18
  EXPOSE 7860
19
 
20
+ # Create cache folder with write permissions
21
+ RUN mkdir -p /app/cache
22
+
23
  # Run FastAPI app via uvicorn
24
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]