pvanand commited on
Commit
80b4f28
1 Parent(s): 659d7dc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use an official Python runtime as a parent image
2
- FROM python:3.11-slim
3
 
4
  # Set the working directory in the container
5
  WORKDIR /app
@@ -10,6 +10,8 @@ COPY . /app
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
 
13
  # Run the script to download NLTK data
14
  RUN python /app/download_nltk_data.py
15
 
 
1
  # Use an official Python runtime as a parent image
2
+ FROM python:3.10.9
3
 
4
  # Set the working directory in the container
5
  WORKDIR /app
 
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ RUN chmod -R a+w /usr/local/lib/python3.10/site-packages/hrequests/bin/
14
+
15
  # Run the script to download NLTK data
16
  RUN python /app/download_nltk_data.py
17