WebashalarForML commited on
Commit
b537990
1 Parent(s): d7fb9e5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -11,9 +11,14 @@ WORKDIR /app
11
  # Copy the requirements file into the container at /app
12
  COPY requirements.txt /app/
13
 
 
 
 
14
  # Install any needed packages specified in requirements.txt
15
  RUN pip install --no-cache-dir -r requirements.txt
16
 
 
 
17
  # Create the directory for session storage and set permissions
18
  RUN mkdir -p /tmp/flask_sessions && chmod 777 /tmp/flask_sessions
19
 
 
11
  # Copy the requirements file into the container at /app
12
  COPY requirements.txt /app/
13
 
14
+ # Install SpaCy model directly in Dockerfile
15
+ RUN python -m spacy download en_core_web_sm
16
+
17
  # Install any needed packages specified in requirements.txt
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
20
+
21
+
22
  # Create the directory for session storage and set permissions
23
  RUN mkdir -p /tmp/flask_sessions && chmod 777 /tmp/flask_sessions
24