Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -20,8 +20,8 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
| 20 |
|
| 21 |
# 3. Install Python Dependencies using 'uv'
|
| 22 |
COPY requirements.txt .
|
| 23 |
-
# Use the full path
|
| 24 |
-
RUN /root/.local/bin/uv pip install --no-cache-dir -r requirements.txt
|
| 25 |
|
| 26 |
# 4. Install Playwright Browsers
|
| 27 |
RUN playwright install
|
|
|
|
| 20 |
|
| 21 |
# 3. Install Python Dependencies using 'uv'
|
| 22 |
COPY requirements.txt .
|
| 23 |
+
# Use the full path and add the --system flag
|
| 24 |
+
RUN /root/.local/bin/uv pip install --no-cache-dir -r requirements.txt --system
|
| 25 |
|
| 26 |
# 4. Install Playwright Browsers
|
| 27 |
RUN playwright install
|