Muhammad541 commited on
Commit
94040f6
·
verified ·
1 Parent(s): baacef2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -4,6 +4,9 @@ FROM python:3.11-slim
4
  # Set working directory inside the container
5
  WORKDIR /app
6
 
 
 
 
7
  # Copy requirements.txt to the working directory
8
  COPY requirements.txt .
9
 
 
4
  # Set working directory inside the container
5
  WORKDIR /app
6
 
7
+ # Create the saved_models directory in /cache and set permissions
8
+ RUN mkdir -p /cache/saved_models && chmod -R 755 /cache/saved_models
9
+
10
  # Copy requirements.txt to the working directory
11
  COPY requirements.txt .
12