euler314 commited on
Commit
63dc3eb
·
verified ·
1 Parent(s): 9ccaa5c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -7
Dockerfile CHANGED
@@ -37,13 +37,10 @@ RUN pip install --upgrade pip && \
37
  # Copy your requirements file.
38
  COPY requirements.txt .
39
 
40
- # IMPORTANT:
41
- # Ensure your requirements.txt pins Scrapely to a compatible (or pure-Python) version.
42
- # For example, include a line like:
43
- #
44
- # scrapely==0.13.2
45
- #
46
- # Then install your Python dependencies.
47
  RUN pip install --no-cache-dir -r requirements.txt
48
 
49
  # Copy the rest of your application code.
 
37
  # Copy your requirements file.
38
  COPY requirements.txt .
39
 
40
+ # Force installation of scrapely in pure-Python mode.
41
+ RUN pip install --no-cache-dir --no-binary :all: scrapely==0.13.2
42
+
43
+ # Install the rest of your Python dependencies.
 
 
 
44
  RUN pip install --no-cache-dir -r requirements.txt
45
 
46
  # Copy the rest of your application code.